﻿namespace HRM.CORE
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraLayout;
    using DevExpress.XtraLayout.Utils;
    using DevExpress.XtraTab;
    using Microsoft.VisualBasic;
    using APP.HELPER;
    using Common.Base;
    using Common.Class; using APP.HELPER.Utils.Language; using Security.Security; using Dictionary.ERP;
    using Common.Report;
    using Dictionary;
    using HRM.CORE;
    using HRM.CORE.CLASS;
    using HRM.CORE.Properties;
    using HRM.CORE.REPORT;
    
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data.SqlTypes;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms; using Common;
    using Common;
    using Security.ERP;
    using Extra.ERP;

    public class xucEmployeeAdd : Common.xucBaseAddH
    {
        private SimpleButton btUser;
        private CalcEdit calAllowance1;
        private CalcEdit calAllowance2;
        private CalcEdit calAllowance3;
        private CalcEdit calAllowance4;
        private CalcEdit calBasicSalary;
        private CalcEdit calCoefficient;
        private CalcEdit calHeight;
        private CalcEdit calInsuranceSalary;
        private CalcEdit calMinimumSalary;
        private CalcEdit calPayMoney;
        private CalcEdit calPercentSecondIncomeTax;
        private CalcEdit calSalaryPeriod1;
        private CalcEdit calTestSalary;
        private CalcEdit calWeight;
        private ComboBoxEdit cboContractCode;
        private ComboBoxEdit cboContractType;
        private ComboBoxEdit cboEducation;
        private ComboBoxEdit cboEthnic;
        private ComboBoxEdit cboHospital;
        private ComboBoxEdit cboInformatic;
        private ComboBoxEdit cboLanguage;
        private ComboBoxEdit cboMariage;
        private ComboBoxEdit cboNationality;
        private ComboBoxEdit cboPayForm;
        private ComboBoxEdit cboPosition;
        private ComboBoxEdit cboProfessional;
        private ComboBoxEdit cboProvince;
        private ComboBoxEdit cboReasonLeave;
        private ComboBoxEdit cboReligion;
        private ComboBoxEdit cboResidenceType;
        private ComboBoxEdit cboSchool;
        private ComboBoxEdit cboStatus;
        private ComboBoxEdit cboStepSalary;
        private ComboBoxEdit cboTimeTest;
        private CheckedComboBoxEdit chcDegree;
        private CheckEdit cheHealthInsurance;
        private CheckEdit cheIsOffWork;
        private CheckEdit cheIsParty;
        private CheckEdit cheIsSecondIncomeTax;
        private CheckEdit cheIsTest;
        private CheckEdit cheIsUnion;
        private CheckEdit cheIsYourSelfTax;
        private CheckEdit cheSex;
        private CheckEdit cheSocialInsurance;
        private CheckEdit cheUnemploymentInsurance;
        private CheckEdit cheUnionMoney;
        private GridColumn colGroupRateCode;
        private GridColumn colGroupRateName;
        private GridColumn colRankCode;
        private GridColumn colRankName;
        private IContainer components = null;
        private DateEdit dtBankDate;
        private DateEdit dtBeginDate;
        private DateEdit dtContractFromDate;
        private DateEdit dtContractSignDate;
        private DateEdit dtContractToDate;
        private DateEdit dtDateSalary;
        private DateEdit dtEndDate;
        private DateEdit dtHealthInsuranceFromDate;
        private DateEdit dtHealthInsuranceToDate;
        private DateEdit dtIDCardDate;
        private DateEdit dtInsuranceDate;
        private DateEdit dtLaborDate;
        private DateEdit dtMilitaryFromDate;
        private DateEdit dtMilitaryToDate;
        private DateEdit dtPartyDate;
        private DateEdit dtPassportFromDate;
        private DateEdit dtPassportToDate;
        private DateEdit dtTestFromDate;
        private DateEdit dtTestToDate;
        private DateEdit dtUnionDate;
        private EmptySpaceItem emptySpaceItem1;
        private EmptySpaceItem emptySpaceItem2;
        private EmptySpaceItem emptySpaceItem3;
        private GroupBox gbAllowance;
        private GridLookUpEdit glkBranch;
        private GridLookUpEdit glkDepartment;
        private GridLookUpEdit glkGroup;
        private GridLookUpEdit glkGroupRateCode;
        private GridLookUpEdit glkRankSalary;
        private GroupControl grBankAccount;
        private GroupControl grHealth;
        private GroupControl grIDCard;
        private GridColumn gridColumn10;
        private GridColumn gridColumn5;
        private GridColumn gridColumn6;
        private GridColumn gridColumn7;
        private GridColumn gridColumn8;
        private GridColumn gridColumn9;
        private GridView gridLookUpEdit1View;
        private GridView gridView1;
        private GridView gridView4;
        private GridView gridView5;
        private GridView gridView7;
        private GroupControl grLabor;
        private GroupControl grMain;
        private GroupControl grMilitary;
        private GroupBox groupBox1;
        private GroupBox groupBox2;
        private GroupControl groupControl1;
        private GroupControl grParty;
        private GroupControl grPassport;
        private GroupControl grTest;
        private GroupControl grUnion;
        private GroupControl grWorkInformation;
        private PictureEdit imgPhoto;
        private LabelControl labelControl1;
        private LabelControl labelControl2;
        private LabelControl labelControl3;
        private LabelControl labelControl4;
        private LabelControl labelControl5;
        private LayoutControl layoutControl1;
        private LayoutControl layoutControl10;
        private LayoutControl layoutControl11;
        private LayoutControl layoutControl12;
        private LayoutControl layoutControl13;
        private LayoutControl layoutControl14;
        private LayoutControl layoutControl15;
        private LayoutControl layoutControl16;
        private LayoutControl layoutControl17;
        private LayoutControl layoutControl2;
        private LayoutControl layoutControl3;
        private LayoutControl layoutControl4;
        private LayoutControl layoutControl5;
        private LayoutControl layoutControl6;
        private LayoutControl layoutControl7;
        private LayoutControl layoutControl8;
        private LayoutControl layoutControl9;
        private LayoutControlGroup layoutControlGroup1;
        private LayoutControlGroup layoutControlGroup10;
        private LayoutControlGroup layoutControlGroup11;
        private LayoutControlGroup layoutControlGroup12;
        private LayoutControlGroup layoutControlGroup13;
        private LayoutControlGroup layoutControlGroup14;
        private LayoutControlGroup layoutControlGroup15;
        private LayoutControlGroup layoutControlGroup16;
        private LayoutControlGroup layoutControlGroup17;
        private LayoutControlGroup layoutControlGroup2;
        private LayoutControlGroup layoutControlGroup3;
        private LayoutControlGroup layoutControlGroup4;
        private LayoutControlGroup layoutControlGroup5;
        private LayoutControlGroup layoutControlGroup6;
        private LayoutControlGroup layoutControlGroup7;
        private LayoutControlGroup layoutControlGroup8;
        private LayoutControlGroup layoutControlGroup9;
        private LayoutControlItem layoutControlItem1;
        private LayoutControlItem layoutControlItem10;
        private LayoutControlItem layoutControlItem11;
        private LayoutControlItem layoutControlItem12;
        private LayoutControlItem layoutControlItem13;
        private LayoutControlItem layoutControlItem14;
        private LayoutControlItem layoutControlItem15;
        private LayoutControlItem layoutControlItem16;
        private LayoutControlItem layoutControlItem17;
        private LayoutControlItem layoutControlItem18;
        private LayoutControlItem layoutControlItem2;
        private LayoutControlItem layoutControlItem3;
        private LayoutControlItem layoutControlItem30;
        private LayoutControlItem layoutControlItem34;
        private LayoutControlItem layoutControlItem4;
        private LayoutControlItem layoutControlItem5;
        private LayoutControlItem layoutControlItem6;
        private LayoutControlItem layoutControlItem64;
        private LayoutControlItem layoutControlItem68;
        private LayoutControlItem layoutControlItem7;
        private LayoutControlItem layoutControlItem8;
        private LayoutControlItem layoutControlItem9;
        private LayoutControlItem lcAlias;
        private LayoutControlItem lcBankAddress;
        private LayoutControlItem lcBankCode;
        private LayoutControlItem lcBankDate;
        private LayoutControlItem lcBankName;
        private LayoutControlItem lcBasicSalary;
        private LayoutControlItem lcBeginDate;
        private LayoutControlItem lcBirthday;
        private LayoutControlItem lcBirthPlace;
        private LayoutControlItem lcBranch;
        private LayoutControlItem lcCellPhone;
        private LayoutControlItem lcCoefficientSalary;
        private LayoutControlItem lcContactAddress;
        private LayoutControlItem lcContractCode;
        private LayoutControlItem lcContractFromDate;
        private LayoutControlItem lcContractSignDate;
        private LayoutControlItem lcContractToDate;
        private LayoutControlItem lcContractType;
        private LayoutControlItem lcDateSalary;
        private LayoutControlItem lcDegree;
        private LayoutControlItem lcDepartment;
        private LayoutControlItem lcDescription;
        private LayoutControlItem lcEducation;
        private LayoutControlItem lcEmail;
        private LayoutControlItem lcEmployeeCode;
        private LayoutControlItem lcEndDate;
        private LayoutControlItem lcEnrollNumber;
        private LayoutControlItem lcEthnic;
        private LayoutControlItem lcFirstName;
        private LayoutControlGroup lcgContract;
        private LayoutControlGroup lcgHealthInsurance;
        private LayoutControlItem lcGroup;
        private LayoutControlGroup lcgSocialInsurance;
        private LayoutControlItem lcHealth;
        private LayoutControlItem lcHealthInsuranceCode;
        private LayoutControlItem lcHealthInsuranceFromDate;
        private LayoutControlItem lcHealthInsuranceToDate;
        private LayoutControlItem lcHeight;
        private LayoutControlItem lcHomePhone;
        private LayoutControlItem lcHospital;
        private LayoutControlItem lcIDCard;
        private LayoutControlItem lcIDCardDate;
        private LayoutControlItem lcIDCardPlace;
        private LayoutControlItem lcInformatic;
        private LayoutControlItem lcLaborCode;
        private LayoutControlItem lcLaborDate;
        private LayoutControlItem lcLaborPlace;
        private LayoutControlItem lcLanguage;
        private LayoutControlItem lcLastName;
        private LayoutControlItem lcMainAddress;
        private LayoutControlItem lcMarriage;
        private LayoutControlItem lcMilitaryCode;
        private LayoutControlItem lcMilitaryFromDate;
        private LayoutControlItem lcMilitaryPosition;
        private LayoutControlItem lcMilitaryToDate;
        private LayoutControlItem lcMinimumSalary;
        private LayoutControlItem lcNationality;
        private LayoutControlItem lcPartyCode;
        private LayoutControlItem lcPartyDate;
        private LayoutControlItem lcPartyPlace;
        private LayoutControlItem lcPassportCode;
        private LayoutControlItem lcPassportFromDate;
        private LayoutControlItem lcPassportToDate;
        private LayoutControlItem lcPayForm;
        private LayoutControlItem lcPayMoney;
        private LayoutControlItem lcPosition;
        private LayoutControlItem lcProfessional;
        private LayoutControlItem lcProvince;
        private LayoutControlItem lcRankSalary;
        private LayoutControlItem lcReasonLeave;
        private LayoutControlItem lcReligion;
        private LayoutControlItem lcSchool;
        private LayoutControlItem lcSocialInsuranceCode;
        private LayoutControlItem lcSocialInsuranceDate;
        private LayoutControlItem lcSocialInsurancePlace;
        private LabelControl lcStatus;
        private LayoutControlItem lcStepSalary;
        private LayoutControlItem lcTestFromDate;
        private LayoutControlItem lcTestSalary;
        private LayoutControlItem lcTestTime;
        private LayoutControlItem lcTestToDate;
        private LayoutControlItem lcUnionCode;
        private LayoutControlItem lcUnionDate;
        private LayoutControlItem lcUnionPlace;
        private LayoutControlItem lcWeight;
        private PictureBox pictureBox1;
        private PictureBox pictureBox2;
        private PictureBox pictureBox3;
        private XtraTabPage tabActivity;
        private XtraTabPage tabAllowance;
        private XtraTabPage tabBasicInformation;
        private XtraTabPage tabContactInformation;
        private XtraTabPage tabPersonContact;
        private XtraTabPage tabSchedule;
        private XtraTabPage tabUser;
        private XtraTabPage tabWorkInformation;
        private TextEdit txtAlias;
        private TextEdit txtBankAddress;
        private TextEdit txtBankCode;
        private TextEdit txtBankName;
        private TextEdit txtBirthPlace;
        private TextEdit txtCellPhone;
        private TextEdit txtContactAddress;
        private TextEdit txtDescription;
        private TextEdit txtEmail;
        private TextEdit txtEnrollNumber;
        private TextEdit txtFacebook;
        private TextEdit txtFirstName;
        private TextEdit txtHealth;
        private TextEdit txtHealthInsuranceCode;
        private TextEdit txtHomePhone;
        private TextEdit txtID;
        private TextEdit txtIDCard;
        private TextEdit txtIDCardPlace;
        private TextEdit txtIncomeTaxCode;
        private TextEdit txtInsuranceCode;
        private TextEdit txtInsurancePlace;
        private TextEdit txtLaborCode;
        private TextEdit txtLaborPlace;
        private TextEdit txtLastName;
        private TextEdit txtMainAddress;
        private TextEdit txtMilitaryCode;
        private TextEdit txtMilitaryPosition;
        private TextEdit txtPartyCode;
        private TextEdit txtPartyPlace;
        private TextEdit txtPassportCode;
        private TextEdit txtSkype;
        private TextEdit txtUnionCode;
        private TextEdit txtUnionPlace;
        private TextEdit txtYahoo;
        private xucDateEdit xdeBirthday;
        private XtraTabControl xtraTabControl1;
        private HRM.CORE.xucActivity xucActivity;
        private HRM.CORE.xucAllowance xucAllowance;
        private HRM.CORE.xucRelative xucRelative;
        private HRM.CORE.xucSchedule xucSchedule;

        public event InputEmployeeNameHandler InputEmployeeName;

        public event SuccessEventHander Success;

        public xucEmployeeAdd()
        {
            this.InitializeComponent();
            this.InitInterface();
            this.InitData();
        }

        protected override void Add()
        {
            base.Add();
            this.txtID.Text = new HRM_EMPLOYEE().NewID();
            this.txtFirstName.Focus();
            this.imgPhoto.Image = null;
        }

        private void AddCheckedComboboxEdit(CheckedComboBoxEdit checkedCombo, string str, string value)
        {
            CheckedListBoxItem item = new CheckedListBoxItem {
                Description = str,
                Value = value
            };
            checkedCombo.Properties.Items.Add(item);
        }

        private void AddComboboxEdit(ComboBoxEdit combo, string str)
        {
            combo.Properties.Items.Add(str);
            combo.SelectedIndex = combo.Properties.Items.Count - 1;
        }

        private void btUser_Click(object sender, EventArgs e)
        {
            HRM_EMPLOYEE item = new HRM_EMPLOYEE();
            if (item.Exist(this.txtID.Text) || (this.uc_Save() == "OK"))
            {
                item.Get(this.txtID.Text);
                base.Status = Actions.Update;
                this.SetData(item);
                new xfmUserAdd(this.txtID.Text).ShowDialog();
            }
        }

        private void calPayMoney_EditValueChanged(object sender, EventArgs e)
        {
            this.calBasicSalary.EditValue = this.calPayMoney.EditValue;
            this.calInsuranceSalary.EditValue = this.calPayMoney.EditValue;
        }

        private void cbo_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmNationalityAdd.AddedEventHander hander = null;
            xfmEthnicAdd.AddedEventHander hander2 = null;
            xfmReligionAdd.AddedEventHander hander3 = null;
            xfmEducationAdd.AddedEventHander hander4 = null;
            xfmLanguageAdd.AddedEventHander hander5 = null;
            xfmInformaticAdd.AddedEventHander hander6 = null;
            xfmProfessionalAdd.AddedEventHander hander7 = null;
            xfmPositionAdd.AddedEventHander hander8 = null;
            xfmStepAdd.AddedEventHander hander9 = null;
            FormClosingEventHandler handler = null;
            FormClosingEventHandler handler2 = null;
            FormClosingEventHandler handler3 = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                ComboBoxEdit edit = sender as ComboBoxEdit;
                switch (edit.Name)
                {
                    case "cboNationality":
                    {
                        xfmNationalityAdd add = new xfmNationalityAdd(Actions.Add);
                        if (hander == null)
                        {
                            hander = (s, i) => this.AddComboboxEdit(this.cboNationality, i.NationalityName);
                        }
                        add.Added += hander;
                        add.ShowDialog();
                        break;
                    }
                    case "cboEthnic":
                    {
                        xfmEthnicAdd add2 = new xfmEthnicAdd(Actions.Add);
                        if (hander2 == null)
                        {
                            hander2 = (s, i) => this.AddComboboxEdit(this.cboEthnic, i.EthnicName);
                        }
                        add2.Added += hander2;
                        add2.ShowDialog();
                        break;
                    }
                    case "cboReligion":
                    {
                        xfmReligionAdd add3 = new xfmReligionAdd(Actions.Add);
                        if (hander3 == null)
                        {
                            hander3 = (s, i) => this.AddComboboxEdit(this.cboReligion, i.ReligionName);
                        }
                        add3.Added += hander3;
                        add3.ShowDialog();
                        break;
                    }
                    case "cboEducation":
                    {
                        xfmEducationAdd add4 = new xfmEducationAdd(Actions.Add);
                        if (hander4 == null)
                        {
                            hander4 = (s, i) => this.AddComboboxEdit(this.cboEducation, i.EducationName);
                        }
                        add4.Added += hander4;
                        add4.ShowDialog();
                        break;
                    }
                    case "cboLanguage":
                    {
                        xfmLanguageAdd add5 = new xfmLanguageAdd(Actions.Add);
                        if (hander5 == null)
                        {
                            hander5 = (s, i) => this.AddComboboxEdit(this.cboLanguage, i.LanguageName);
                        }
                        add5.Added += hander5;
                        add5.ShowDialog();
                        break;
                    }
                    case "cboInformatic":
                    {
                        xfmInformaticAdd add6 = new xfmInformaticAdd(Actions.Add);
                        if (hander6 == null)
                        {
                            hander6 = (s, i) => this.AddComboboxEdit(this.cboInformatic, i.InformaticName);
                        }
                        add6.Added += hander6;
                        add6.ShowDialog();
                        break;
                    }
                    case "cboProfessional":
                    {
                        xfmProfessionalAdd add7 = new xfmProfessionalAdd(Actions.Add);
                        if (hander7 == null)
                        {
                            hander7 = (s, i) => this.AddComboboxEdit(this.cboProfessional, i.ProfessionalName);
                        }
                        add7.Added += hander7;
                        add7.ShowDialog();
                        break;
                    }
                    case "cboPosition":
                    {
                        xfmPositionAdd add8 = new xfmPositionAdd(Actions.Add);
                        if (hander8 == null)
                        {
                            hander8 = (s, i) => this.AddComboboxEdit(this.cboPosition, i.PositionName);
                        }
                        add8.Added += hander8;
                        add8.ShowDialog();
                        break;
                    }
                    case "cboStepSalary":
                    {
                        xfmStepAdd add9 = new xfmStepAdd(Actions.Add);
                        if (hander9 == null)
                        {
                            hander9 = (s, i) => this.AddComboboxEdit(this.cboStepSalary, i.StepCode.ToString());
                        }
                        add9.Added += hander9;
                        add9.ShowDialog();
                        break;
                    }
                    case "cboSchool":
                    {
                        xfmSchool school = new xfmSchool();
                        if (handler == null)
                        {
                            handler = (s, i) => new DIC_SCHOOL().AddComboEdit(this.cboSchool);
                        }
                        school.FormClosing += handler;
                        school.ShowDialog();
                        break;
                    }
                    case "cboProvince":
                    {
                        xfmProvince province = new xfmProvince();
                        if (handler2 == null)
                        {
                            handler2 = (s, i) => new DIC_PROVINCE().AddComboEdit(this.cboProvince);
                        }
                        province.FormClosing += handler2;
                        province.ShowDialog();
                        break;
                    }
                    case "cboHospital":
                    {
                        xfmHospital hospital = new xfmHospital();
                        if (handler3 == null)
                        {
                            handler3 = (s, i) => new DIC_HOSPITAL().AddComboEdit(this.cboHospital);
                        }
                        hospital.FormClosing += handler3;
                        hospital.ShowDialog();
                        break;
                    }
                    case "cboContractCode":
                        if (this.cboContractCode.Text != "")
                        {
                            try
                            {
                                string text = this.cboContractCode.Text;
                                string employeeCode = this.txtID.Text;
                                xfmReport report = new xfmReport("Hợp Đồng Lao Động");
                                HRM_CONTRACT hrm_contract = new HRM_CONTRACT();
                                hrm_contract.Get(text);
                                if (hrm_contract.ContractType == 0)
                                {
                                    rptContract0 xtraReport = new rptContract0(text, employeeCode);
                                    report.ShowPrintPreview(xtraReport);
                                }
                                else if (hrm_contract.ContractType == 1)
                                {
                                    rptContract1 contract2 = new rptContract1(text, employeeCode);
                                    report.ShowPrintPreview(contract2);
                                }
                                else if (hrm_contract.ContractType == 2)
                                {
                                    rptContract2 contract3 = new rptContract2(text, employeeCode);
                                    report.ShowPrintPreview(contract3);
                                }
                                else if (hrm_contract.ContractType == 3)
                                {
                                    rptContract3 contract4 = new rptContract3(text, employeeCode);
                                    report.ShowPrintPreview(contract4);
                                }
                            }
                            catch
                            {
                            }
                        }
                        break;
                }
            }
        }

        private void cboContractCode_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmContractAdd.AddedEventHander hander2 = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                string caption = e.Button.Caption;
                if (caption != null)
                {
                    if (!(caption == "Print"))
                    {
                        if (caption == "Add")
                        {
                            HRM_EMPLOYEE item = new HRM_EMPLOYEE();
                            if (item.Exist(this.txtID.Text) || (this.uc_Save() == "OK"))
                            {
                                item.Get(this.txtID.Text);
                                base.Status = Actions.Update;
                                this.SetData(item);
                                xfmContractAdd add = new xfmContractAdd(Actions.Add, this.txtID.Text);
                                if (hander2 == null)
                                {
                                    hander2 = delegate (object s, HRM_CONTRACT i) {
                                        this.AddComboboxEdit(this.cboContractCode, i.ContractCode);
                                        if (this.cboPayForm.SelectedIndex == 1)
                                        {
                                            this.calPayMoney.EditValue = i.BasicSalary;
                                            this.calBasicSalary.EditValue = i.BasicSalary;
                                            this.calInsuranceSalary.EditValue = i.BasicSalary;
                                            this.dtDateSalary.DateTime = i.SignDate;
                                        }
                                    };
                                }
                                add.Added += hander2;
                                add.ShowDialog();
                            }
                        }
                        else if ((caption == "Edit") && (this.cboContractCode.Text != ""))
                        {
                            xfmContractAdd.UpdatedEventHander hander = null;
                            HRM_CONTRACT l_Contract = new HRM_CONTRACT();
                            if (l_Contract.Exist(this.cboContractCode.Text))
                            {
                                l_Contract.Get(this.cboContractCode.Text);
                                xfmContractAdd add2 = new xfmContractAdd(Actions.Update, l_Contract);
                                if (hander == null)
                                {
                                    hander = delegate (object s, HRM_CONTRACT i) {
                                        l_Contract.Get(this.cboContractCode.EditValue.ToString());
                                        this.cboContractType.SelectedIndex = l_Contract.ContractType;
                                        this.dtContractSignDate.DateTime = l_Contract.SignDate;
                                        this.dtContractFromDate.DateTime = l_Contract.FromDate;
                                        this.dtContractToDate.DateTime = l_Contract.ToDate;
                                    };
                                }
                                add2.Updated += hander;
                                add2.ShowDialog();
                            }
                        }
                    }
                    else if (this.cboContractCode.Text != "")
                    {
                        try
                        {
                            rptContract contract2;
                            string text = this.cboContractCode.Text;
                            string employeeCode = this.txtID.Text;
                            xfmReport report = new xfmReport("Hợp Đồng Lao Động");
                            HRM_CONTRACT hrm_contract = new HRM_CONTRACT();
                            hrm_contract.Get(text);
                            clsContractOption option = new clsContractOption();
                            if (hrm_contract.ContractType == 0)
                            {
                                if (option.FilePath0 == "")
                                {
                                    rptContract0 xtraReport = new rptContract0(text, employeeCode);
                                    report.ShowPrintPreview(xtraReport);
                                }
                                else
                                {
                                    contract2 = new rptContract(text, employeeCode, option.FilePath0);
                                    report.ShowPrintPreview(contract2);
                                }
                            }
                            else if (hrm_contract.ContractType == 1)
                            {
                                if (option.FilePath1 == "")
                                {
                                    rptContract1 contract3 = new rptContract1(text, employeeCode);
                                    report.ShowPrintPreview(contract3);
                                }
                                else
                                {
                                    contract2 = new rptContract(text, employeeCode, option.FilePath1);
                                    report.ShowPrintPreview(contract2);
                                }
                            }
                            else if (hrm_contract.ContractType == 2)
                            {
                                if (option.FilePath2 == "")
                                {
                                    rptContract2 contract4 = new rptContract2(text, employeeCode);
                                    report.ShowPrintPreview(contract4);
                                }
                                else
                                {
                                    contract2 = new rptContract(text, employeeCode, option.FilePath2);
                                    report.ShowPrintPreview(contract2);
                                }
                            }
                            else if (hrm_contract.ContractType == 3)
                            {
                                if (option.FilePath3 == "")
                                {
                                    rptContract3 contract5 = new rptContract3(text, employeeCode);
                                    report.ShowPrintPreview(contract5);
                                }
                                else
                                {
                                    contract2 = new rptContract(text, employeeCode, option.FilePath3);
                                    report.ShowPrintPreview(contract2);
                                }
                            }
                        }
                        catch
                        {
                        }
                    }
                }
            }
        }

        private void cboContractCode_SelectedIndexChanged(object sender, EventArgs e)
        {
            HRM_CONTRACT hrm_contract = new HRM_CONTRACT();
            hrm_contract.Get(this.cboContractCode.EditValue.ToString());
            this.cboContractType.SelectedIndex = hrm_contract.ContractType;
            this.dtContractSignDate.DateTime = hrm_contract.SignDate;
            this.dtContractFromDate.DateTime = hrm_contract.FromDate;
            this.dtContractToDate.DateTime = hrm_contract.ToDate;
        }

        private void cboPayForm_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.cboPayForm.SelectedIndex == 0)
            {
                this.calPayMoney.Enabled = false;
                this.glkRankSalary.Enabled = true;
                this.cboStepSalary.Enabled = true;
                this.calInsuranceSalary.EditValue = this.calBasicSalary.EditValue;
            }
            else
            {
                this.calPayMoney.Enabled = true;
                this.glkRankSalary.Enabled = false;
                this.cboStepSalary.Enabled = false;
                this.calBasicSalary.EditValue = this.calPayMoney.EditValue;
                this.calInsuranceSalary.EditValue = this.calPayMoney.EditValue;
            }
        }

        private void cboResidenceType_SelectedIndexChanged(object sender, EventArgs e)
        {
        }

        private void cboStatus_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (this.cboStatus.SelectedIndex == 2)
            {
                this.lcReasonLeave.Visibility = LayoutVisibility.Always;
            }
            else
            {
                this.lcReasonLeave.Visibility = LayoutVisibility.Never;
            }
        }

        private void cboStepSalary_EditValueChanged(object sender, EventArgs e)
        {
            DIC_SALARY_STEP dic_salary_step = new DIC_SALARY_STEP();
            dic_salary_step.Get(this.cboStepSalary.Text, this.glkRankSalary.EditValue.ToString());
            this.calCoefficient.EditValue = dic_salary_step.Coefficient;
            this.calBasicSalary.EditValue = double.Parse(this.calCoefficient.Text) * double.Parse(this.calMinimumSalary.Text);
            this.calInsuranceSalary.EditValue = this.calBasicSalary.EditValue;
        }

        private void cboTimeTest_EditValueChanged(object sender, EventArgs e)
        {
            if (this.cboTimeTest.SelectedIndex == 0)
            {
                this.dtTestToDate.DateTime = DateAndTime.DateAdd(DateInterval.Month, 0.0, this.dtTestFromDate.DateTime);
            }
            else if (this.cboTimeTest.SelectedIndex == 1)
            {
                this.dtTestToDate.DateTime = DateAndTime.DateAdd(DateInterval.Month, 1.0, this.dtTestFromDate.DateTime);
            }
            else if (this.cboTimeTest.SelectedIndex == 2)
            {
                this.dtTestToDate.DateTime = DateAndTime.DateAdd(DateInterval.Month, 2.0, this.dtTestFromDate.DateTime);
            }
            else
            {
                this.dtTestToDate.DateTime = DateAndTime.DateAdd(DateInterval.Month, 3.0, this.dtTestFromDate.DateTime);
            }
            this.dtBeginDate.DateTime = DateAndTime.DateAdd(DateInterval.Day, 1.0, this.dtTestToDate.DateTime);
        }

        private void chc_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmDegreeAdd.AddedEventHander hander = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                CheckedComboBoxEdit edit = sender as CheckedComboBoxEdit;
                string name = edit.Name;
                if ((name != null) && (name == "chcDegree"))
                {
                    xfmDegreeAdd add = new xfmDegreeAdd(Actions.Add);
                    if (hander == null)
                    {
                        hander = (s, i) => this.AddCheckedComboboxEdit(this.chcDegree, i.DegreeName, i.DegreeCode);
                    }
                    add.Added += hander;
                    add.ShowDialog();
                }
            }
        }

        private void cheIsReside_CheckedChanged(object sender, EventArgs e)
        {
        }

        private void cheIsSecondIncomeTax_CheckedChanged(object sender, EventArgs e)
        {
            if (this.cheIsSecondIncomeTax.Checked)
            {
                this.calPercentSecondIncomeTax.Enabled = true;
            }
            else
            {
                this.calPercentSecondIncomeTax.Enabled = false;
            }
        }

        public void Clear()
        {
            this.txtFirstName.Focus();
            this.txtFirstName.Text = "";
            this.txtLastName.Text = "";
            this.cboMariage.Text = "";
            this.txtBirthPlace.Text = "";
            this.txtMainAddress.Text = "";
            this.txtContactAddress.Text = "";
            this.txtCellPhone.Text = "";
            this.txtHomePhone.Text = "";
            this.txtEmail.Text = "";
            this.cboSchool.Text = "";
            this.txtIDCard.Text = "";
            this.dtIDCardDate.DateTime = System.DateTime.Now;
            this.txtIDCardPlace.Text = "";
            this.txtHealth.Text = "";
            this.calHeight.Text = "0";
            this.calWeight.Text = "0";
            this.txtIncomeTaxCode.Text = "";
            this.cboResidenceType.SelectedIndex = 0;
            this.dtLaborDate.DateTime = System.DateTime.Now;
            this.dtInsuranceDate.DateTime = System.DateTime.Now;
            this.dtHealthInsuranceFromDate.DateTime = System.DateTime.Now;
            this.dtHealthInsuranceToDate.DateTime = System.DateTime.Now;
            this.dtContractSignDate.DateTime = System.DateTime.Now;
            this.dtContractFromDate.DateTime = System.DateTime.Now;
            this.dtContractToDate.DateTime = System.DateTime.Now;
            this.dtTestFromDate.DateTime = System.DateTime.Now;
            this.dtTestToDate.DateTime = System.DateTime.Now;
            this.calTestSalary.Text = "0";
            this.calAllowance1.Text = "0";
            this.calAllowance2.Text = "0";
            this.calAllowance3.Text = "0";
            this.calAllowance4.Text = "0";
            this.dtBeginDate.DateTime = System.DateTime.Now;
            this.dtEndDate.DateTime = System.DateTime.Now;
            this.dtBankDate.DateTime = System.DateTime.Now;
            this.dtMilitaryFromDate.DateTime = System.DateTime.Now;
            this.dtMilitaryToDate.DateTime = System.DateTime.Now;
            this.dtPassportFromDate.DateTime = System.DateTime.Now;
            this.dtPassportToDate.DateTime = System.DateTime.Now;
            this.dtUnionDate.DateTime = System.DateTime.Now;
            this.dtPartyDate.DateTime = System.DateTime.Now;
            this.dtDateSalary.DateTime = System.DateTime.Now;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void glk_ButtonClick(object sender, ButtonPressedEventArgs e)
        {
            xfmBranchAdd.AddedEventHander hander = null;
            xfmDepartmentAdd.AddedEventHander hander2 = null;
            Dictionary.xfmGroupAdd.AddedEventHander hander3 = null;
            xfmRankAdd.AddedEventHander hander4 = null;
            xfmGroupRateAdd.AddedEventHander hander5 = null;
            if (e.Button.Kind == ButtonPredefines.Glyph)
            {
                GridLookUpEdit edit = sender as GridLookUpEdit;
                string name = edit.Name;
                if (name != null)
                {
                    if (!(name == "glkBranch"))
                    {
                        if (name == "glkDepartment")
                        {
                            if (e.Button.Caption == "Add")
                            {
                                xfmDepartmentAdd add2 = new xfmDepartmentAdd(Actions.Add);
                                if (hander2 == null)
                                {
                                    hander2 = (s, i) => new HRM_DEPARTMENT().AddGridLookupEdit(this.glkDepartment, this.glkBranch.EditValue.ToString());
                                }
                                add2.Added += hander2;
                                add2.ShowDialog();
                            }
                            else
                            {
                                this.glkDepartment.EditValue = null;
                                this.glkGroup.EditValue = null;
                            }
                        }
                        else if (name == "glkGroup")
                        {
                            if (e.Button.Caption == "Add")
                            {
                                Dictionary.xfmGroupAdd add3 = new Dictionary.xfmGroupAdd(Actions.Add);
                                if (hander3 == null)
                                {
                                    hander3 = (s, i) => new HRM_GROUP().AddGridLookupEdit(this.glkGroup, this.glkDepartment.EditValue.ToString());
                                }
                                add3.Added += hander3;
                                add3.ShowDialog();
                            }
                            else
                            {
                                this.glkGroup.EditValue = null;
                            }
                        }
                        else if (name == "glkRankSalary")
                        {
                            xfmRankAdd add4 = new xfmRankAdd(Actions.Add);
                            if (hander4 == null)
                            {
                                hander4 = (s, i) => new DIC_SALARY_STEP().AddComboEditByRank(this.cboStepSalary, this.glkRankSalary.EditValue.ToString());
                            }
                            add4.Added += hander4;
                            add4.ShowDialog();
                        }
                        else if (name == "glkGroupRateCode")
                        {
                            xfmGroupRateAdd add5 = new xfmGroupRateAdd(Actions.Add);
                            if (hander5 == null)
                            {
                                hander5 = (s, i) => new DIC_GROUP_RATE().AddGridLookupEdit(this.glkGroupRateCode);
                            }
                            add5.Added += hander5;
                            add5.ShowDialog();
                        }
                    }
                    else
                    {
                        xfmBranchAdd add = new xfmBranchAdd(Actions.Add);
                        if (hander == null)
                        {
                            hander = (s, i) => new HRM_BRANCH().AddGridLookupEdit(this.glkBranch);
                        }
                        add.Added += hander;
                        add.ShowDialog();
                    }
                }
            }
        }

        private void glkBranch_EditValueChanged(object sender, EventArgs e)
        {
            new HRM_DEPARTMENT().AddGridLookupEdit(this.glkDepartment, this.glkBranch.EditValue.ToString());
            this.glkDepartment.EditValue = null;
            HRM_BRANCH hrm_branch = new HRM_BRANCH();
            hrm_branch.Get(this.glkBranch.EditValue.ToString());
            this.calMinimumSalary.EditValue = hrm_branch.MinimumSalary;
            if (this.cboPayForm.SelectedIndex == 0)
            {
                this.calBasicSalary.EditValue = double.Parse(this.calCoefficient.Text) * double.Parse(this.calMinimumSalary.Text);
            }
        }

        private void glkDepartment_EditValueChanged(object sender, EventArgs e)
        {
            if (this.glkDepartment.EditValue != null)
            {
                new HRM_GROUP().AddGridLookupEdit(this.glkGroup, this.glkDepartment.EditValue.ToString());
            }
            if (this.glkGroup.Text == "")
            {
                this.glkGroup.EditValue = null;
            }
        }

        private void glkRankSalary_EditValueChanged(object sender, EventArgs e)
        {
            DIC_SALARY_STEP dic_salary_step = new DIC_SALARY_STEP();
            dic_salary_step.AddComboEditByRank(this.cboStepSalary, this.glkRankSalary.EditValue.ToString());
            dic_salary_step.Get(this.cboStepSalary.Text, this.glkRankSalary.EditValue.ToString());
            this.calCoefficient.EditValue = dic_salary_step.Coefficient;
            this.calBasicSalary.EditValue = double.Parse(this.calCoefficient.Text) * double.Parse(this.calMinimumSalary.Text);
            this.calInsuranceSalary.EditValue = this.calBasicSalary.EditValue;
        }

        protected override void Init()
        {
            base.Init();
        }

        private HRM_EMPLOYEE InitClass()
        {
            HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE {
                EmployeeCode = this.txtID.Text,
                FirstName = this.txtFirstName.Text.Trim(),
                LastName = this.txtLastName.Text.Trim(),
                Alias = this.txtAlias.Text,
                Sex = this.cheSex.Checked,
                BirthdayDay = this.xdeBirthday.Day,
                BirthdayMonth = this.xdeBirthday.Month,
                BirthdayYear = this.xdeBirthday.Year,
                Marriage = this.cboMariage.Text,
                BirthPlace = this.txtBirthPlace.Text,
                MainAddress = this.txtMainAddress.Text,
                ContactAddress = this.txtContactAddress.Text,
                CellPhone = this.txtCellPhone.Text,
                HomePhone = this.txtHomePhone.Text,
                Email = this.txtEmail.Text,
                Skype = this.txtSkype.Text,
                Yahoo = this.txtYahoo.Text,
                Facebook = this.txtFacebook.Text,
                Nationality = this.cboNationality.Text,
                Ethnic = this.cboEthnic.Text,
                Religion = this.cboReligion.Text,
                Education = this.cboEducation.Text,
                Language = this.cboLanguage.Text,
                Informatic = this.cboInformatic.Text,
                Professional = this.cboProfessional.Text
            };
            if (this.glkGroupRateCode.EditValue == null)
            {
                hrm_employee.GroupRateCode = "";
            }
            else
            {
                hrm_employee.GroupRateCode = this.glkGroupRateCode.EditValue.ToString();
            }
            hrm_employee.School = this.cboSchool.Text;
            hrm_employee.IDCard = this.txtIDCard.Text;
            hrm_employee.IDCardDate = this.dtIDCardDate.DateTime;
            hrm_employee.IDCardPlace = this.txtIDCardPlace.Text;
            hrm_employee.Health = this.txtHealth.Text;
            hrm_employee.Height = double.Parse(this.calHeight.Text);
            hrm_employee.Weight = double.Parse(this.calWeight.Text);
            hrm_employee.PayForm = this.cboPayForm.SelectedIndex;
            hrm_employee.PayMoney = decimal.Parse(this.calPayMoney.EditValue.ToString());
            hrm_employee.EnrollNumber = this.txtEnrollNumber.Text;
            hrm_employee.IncomeTaxCode = this.txtIncomeTaxCode.Text;
            hrm_employee.ResidenceType = this.cboResidenceType.SelectedIndex;
            if (this.cboStatus.SelectedIndex < 2)
            {
                hrm_employee.Status = this.cboStatus.SelectedIndex;
            }
            else
            {
                hrm_employee.Status = 3;
            }
            hrm_employee.ReasonLeave = this.cboReasonLeave.Text;
            hrm_employee.Description = this.txtDescription.Text;
            if ((this.glkBranch.EditValue == null) || (this.cboPosition.EditValue == null))
            {
                this.xtraTabControl1.SelectedTabPage = this.tabWorkInformation;
                MessageBox.Show("Vui l\x00f2ng chọn đầy đủ những th\x00f4ng tin c\x00f3 đ\x00e1nh dấu (*)!");
                return null;
            }
            hrm_employee.BranchCode = this.glkBranch.EditValue.ToString();
            if ((this.glkDepartment.EditValue == null) || (this.glkDepartment.Text == ""))
            {
                hrm_employee.DepartmentCode = "";
            }
            else
            {
                hrm_employee.DepartmentCode = this.glkDepartment.EditValue.ToString();
            }
            if ((this.glkGroup.EditValue == null) || (this.glkGroup.Text == ""))
            {
                hrm_employee.GroupCode = "";
            }
            else
            {
                hrm_employee.GroupCode = this.glkGroup.EditValue.ToString();
            }
            hrm_employee.Position = this.cboPosition.Text;
            if (this.glkRankSalary.EditValue != null)
            {
                hrm_employee.RankSalary = this.glkRankSalary.EditValue.ToString();
            }
            else
            {
                hrm_employee.RankSalary = "";
            }
            if (this.cboStepSalary.EditValue != null)
            {
                hrm_employee.StepSalary = int.Parse(this.cboStepSalary.EditValue.ToString());
            }
            else
            {
                hrm_employee.StepSalary = 0;
            }
            hrm_employee.MinimumSalary = decimal.Parse(this.calMinimumSalary.EditValue.ToString());
            hrm_employee.CoefficientSalary = double.Parse(this.calCoefficient.EditValue.ToString());
            hrm_employee.DateSalary = (this.dtDateSalary.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtDateSalary.DateTime;
            hrm_employee.BasicSalary = decimal.Parse(this.calBasicSalary.EditValue.ToString());
            hrm_employee.SalaryPeriod1 = decimal.Parse(this.calSalaryPeriod1.EditValue.ToString());
            hrm_employee.InsuranceSalary = decimal.Parse(this.calInsuranceSalary.EditValue.ToString());
            hrm_employee.Allowance1 = decimal.Parse(this.calAllowance1.EditValue.ToString());
            hrm_employee.Allowance2 = decimal.Parse(this.calAllowance2.EditValue.ToString());
            hrm_employee.Allowance3 = decimal.Parse(this.calAllowance3.EditValue.ToString());
            hrm_employee.Allowance4 = decimal.Parse(this.calAllowance4.EditValue.ToString());
            hrm_employee.IsYourSelfTax = this.cheIsYourSelfTax.Checked;
            hrm_employee.IsSecondIncomeTax = this.cheIsSecondIncomeTax.Checked;
            hrm_employee.PercentSecondIncomeTax = double.Parse(this.calPercentSecondIncomeTax.EditValue.ToString());
            hrm_employee.IsSocialInsurance = this.cheSocialInsurance.Checked;
            hrm_employee.IsHealthInsurance = this.cheHealthInsurance.Checked;
            hrm_employee.IsUnemploymentInsurance = this.cheUnemploymentInsurance.Checked;
            hrm_employee.IsUnionMoney = this.cheUnionMoney.Checked;
            hrm_employee.IsTest = this.cheIsTest.Checked;
            hrm_employee.TestTime = this.cboTimeTest.Text;
            hrm_employee.TestFromDate = (this.dtTestFromDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtTestFromDate.DateTime;
            hrm_employee.TestToDate = (this.dtTestToDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtTestToDate.DateTime;
            hrm_employee.TestSalary = decimal.Parse(this.calTestSalary.EditValue.ToString());
            hrm_employee.LaborCode = this.txtLaborCode.Text;
            hrm_employee.LaborDate = (this.dtLaborDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtLaborDate.DateTime;
            hrm_employee.LaborPlace = this.txtLaborPlace.Text;
            hrm_employee.InsuranceCode = this.txtInsuranceCode.Text;
            hrm_employee.InsuranceDate = (this.dtInsuranceDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtInsuranceDate.DateTime;
            hrm_employee.InsurancePlace = this.txtInsurancePlace.Text;
            hrm_employee.HealthInsuranceCode = this.txtHealthInsuranceCode.Text;
            hrm_employee.HealthInsuranceFromDate = (this.dtHealthInsuranceFromDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtHealthInsuranceFromDate.DateTime;
            hrm_employee.HealthInsuranceToDate = (this.dtHealthInsuranceToDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtHealthInsuranceToDate.DateTime;
            hrm_employee.ContractCode = this.cboContractCode.Text;
            hrm_employee.ContractType = this.cboContractType.Text;
            hrm_employee.ContractSignDate = (this.dtContractSignDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtContractSignDate.DateTime;
            hrm_employee.ContractFromDate = (this.dtContractFromDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtContractFromDate.DateTime;
            hrm_employee.ContractToDate = (this.dtContractToDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtContractToDate.DateTime;
            hrm_employee.Province = this.cboProvince.Text;
            hrm_employee.Hospital = this.cboHospital.Text;
            hrm_employee.BeginDate = this.dtBeginDate.DateTime;
            hrm_employee.IsOffWork = this.cheIsOffWork.Checked;
            hrm_employee.EndDate = (this.dtEndDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtEndDate.DateTime;
            hrm_employee.BankCode = this.txtBankCode.Text;
            hrm_employee.BankDate = (this.dtBankDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtBankDate.DateTime;
            hrm_employee.BankName = this.txtBankName.Text;
            hrm_employee.BankAddress = this.txtBankAddress.Text;
            hrm_employee.MilitaryCode = this.txtMilitaryCode.Text;
            hrm_employee.MilitaryFromDate = (this.dtMilitaryFromDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtMilitaryFromDate.DateTime;
            hrm_employee.MilitaryToDate = (this.dtMilitaryToDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtMilitaryToDate.DateTime;
            hrm_employee.MilitaryPosition = this.txtMilitaryPosition.Text;
            hrm_employee.PassportCode = this.txtPassportCode.Text;
            hrm_employee.PassportFromDate = (this.dtPassportFromDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtPassportFromDate.DateTime;
            hrm_employee.PassportToDate = (this.dtPassportToDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtPassportToDate.DateTime;
            hrm_employee.IsParty = this.cheIsParty.Checked;
            hrm_employee.PartyCode = this.txtPartyCode.Text;
            hrm_employee.PartyDate = (this.dtPartyDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtPartyDate.DateTime;
            hrm_employee.PartyPlace = this.txtPartyPlace.Text;
            hrm_employee.IsUnion = this.cheIsUnion.Checked;
            hrm_employee.UnionCode = this.txtUnionCode.Text;
            hrm_employee.UnionDate = (this.dtUnionDate.Text == "") ? Convert.ToDateTime(SqlDateTime.MaxValue.ToString()) : this.dtUnionDate.DateTime;
            hrm_employee.UnionPlace = this.txtUnionPlace.Text;
            return hrm_employee;
        }

        private void InitContract()
        {
            this.cboContractCode.Properties.Items.Clear();
            new HRM_CONTRACT().AddComboEdit(this.cboContractCode, this.txtID.Text);
        }

        private void InitData()
        {
            new HRM_BRANCH().AddGridLookupEdit(this.glkBranch);
            new DIC_POSITION().AddComboEdit(this.cboPosition);
            new DIC_SALARY_RANK().AddGridLookupEdit(this.glkRankSalary);
            new DIC_GROUP_RATE().AddGridLookupEdit(this.glkGroupRateCode);
            DIC_MINIMUMSALARY dic_minimumsalary = new DIC_MINIMUMSALARY();
            dic_minimumsalary.Get();
            this.calMinimumSalary.EditValue = dic_minimumsalary.Money;
            this.cboPayForm.SelectedIndex = 1;
            this.calPayMoney.EditValue = 0;
            this.calPercentSecondIncomeTax.EditValue = 0;
            new DIC_NATIONALITY().AddComboEdit(this.cboNationality);
            new DIC_ETHNIC().AddComboEdit(this.cboEthnic);
            new DIC_RELIGION().AddComboEdit(this.cboReligion);
            new DIC_EDUCATION().AddComboEdit(this.cboEducation);
            new DIC_LANGUAGE().AddComboEdit(this.cboLanguage);
            new DIC_INFORMATIC().AddComboEdit(this.cboInformatic);
            new DIC_PROFESSIONAL().AddComboEdit(this.cboProfessional);
            new DIC_SCHOOL().AddComboEdit(this.cboSchool);
            new DIC_PROVINCE().AddComboEdit(this.cboProvince);
            new DIC_HOSPITAL().AddComboEdit(this.cboHospital);
            new DIC_DEGREE().AddCheckedComboEdit(this.chcDegree);
        }

        private void InitDegree()
        {
            foreach (CheckedListBoxItem item in this.chcDegree.Properties.Items)
            {
                HRM_EMPLOYEE_DEGREE hrm_employee_degree = new HRM_EMPLOYEE_DEGREE();
                if (hrm_employee_degree.Exist(this.txtID.Text, item.Value.ToString()))
                {
                    item.CheckState = CheckState.Checked;
                }
            }
        }

        private void InitializeComponent()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xucEmployeeAdd));
            SerializableAppearanceObject appearance = new SerializableAppearanceObject();
            SerializableAppearanceObject obj3 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj4 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj5 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj6 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj7 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj8 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj9 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj10 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj11 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj12 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj13 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj14 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj15 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj16 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj17 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj18 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj19 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj20 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj21 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj22 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj23 = new SerializableAppearanceObject();
            SerializableAppearanceObject obj24 = new SerializableAppearanceObject();
            this.lcStatus = new LabelControl();
            this.cboStatus = new ComboBoxEdit();
            this.xtraTabControl1 = new XtraTabControl();
            this.tabBasicInformation = new XtraTabPage();
            this.layoutControl1 = new LayoutControl();
            this.cboReasonLeave = new ComboBoxEdit();
            this.xdeBirthday = new xucDateEdit();
            this.cboResidenceType = new ComboBoxEdit();
            this.txtIncomeTaxCode = new TextEdit();
            this.chcDegree = new CheckedComboBoxEdit();
            this.cboProfessional = new ComboBoxEdit();
            this.txtEnrollNumber = new TextEdit();
            this.txtDescription = new TextEdit();
            this.grHealth = new GroupControl();
            this.layoutControl5 = new LayoutControl();
            this.calWeight = new CalcEdit();
            this.calHeight = new CalcEdit();
            this.txtHealth = new TextEdit();
            this.layoutControlGroup5 = new LayoutControlGroup();
            this.lcHealth = new LayoutControlItem();
            this.lcHeight = new LayoutControlItem();
            this.lcWeight = new LayoutControlItem();
            this.cboInformatic = new ComboBoxEdit();
            this.cboLanguage = new ComboBoxEdit();
            this.cboEducation = new ComboBoxEdit();
            this.txtEmail = new TextEdit();
            this.txtHomePhone = new TextEdit();
            this.txtCellPhone = new TextEdit();
            this.txtAlias = new TextEdit();
            this.cboMariage = new ComboBoxEdit();
            this.grIDCard = new GroupControl();
            this.layoutControl4 = new LayoutControl();
            this.txtIDCardPlace = new TextEdit();
            this.dtIDCardDate = new DateEdit();
            this.txtIDCard = new TextEdit();
            this.layoutControlGroup4 = new LayoutControlGroup();
            this.lcIDCard = new LayoutControlItem();
            this.lcIDCardDate = new LayoutControlItem();
            this.lcIDCardPlace = new LayoutControlItem();
            this.txtLastName = new TextEdit();
            this.cheSex = new CheckEdit();
            this.imgPhoto = new PictureEdit();
            this.cboNationality = new ComboBoxEdit();
            this.txtContactAddress = new TextEdit();
            this.txtMainAddress = new TextEdit();
            this.cboReligion = new ComboBoxEdit();
            this.cboEthnic = new ComboBoxEdit();
            this.txtBirthPlace = new TextEdit();
            this.txtID = new TextEdit();
            this.txtFirstName = new TextEdit();
            this.cboSchool = new ComboBoxEdit();
            this.layoutControlGroup1 = new LayoutControlGroup();
            this.lcNationality = new LayoutControlItem();
            this.lcEmployeeCode = new LayoutControlItem();
            this.lcBirthPlace = new LayoutControlItem();
            this.lcMainAddress = new LayoutControlItem();
            this.lcContactAddress = new LayoutControlItem();
            this.layoutControlItem11 = new LayoutControlItem();
            this.layoutControlItem10 = new LayoutControlItem();
            this.lcLastName = new LayoutControlItem();
            this.lcFirstName = new LayoutControlItem();
            this.lcAlias = new LayoutControlItem();
            this.lcMarriage = new LayoutControlItem();
            this.lcCellPhone = new LayoutControlItem();
            this.lcHomePhone = new LayoutControlItem();
            this.lcEmail = new LayoutControlItem();
            this.lcEthnic = new LayoutControlItem();
            this.lcReligion = new LayoutControlItem();
            this.lcEducation = new LayoutControlItem();
            this.lcLanguage = new LayoutControlItem();
            this.lcInformatic = new LayoutControlItem();
            this.layoutControlItem30 = new LayoutControlItem();
            this.layoutControlItem34 = new LayoutControlItem();
            this.lcProfessional = new LayoutControlItem();
            this.lcDegree = new LayoutControlItem();
            this.lcSchool = new LayoutControlItem();
            this.emptySpaceItem2 = new EmptySpaceItem();
            this.lcEnrollNumber = new LayoutControlItem();
            this.layoutControlItem12 = new LayoutControlItem();
            this.layoutControlItem9 = new LayoutControlItem();
            this.lcDescription = new LayoutControlItem();
            this.lcBirthday = new LayoutControlItem();
            this.lcReasonLeave = new LayoutControlItem();
            this.tabWorkInformation = new XtraTabPage();
            this.layoutControl16 = new LayoutControl();
            this.layoutControl17 = new LayoutControl();
            this.dtContractToDate = new DateEdit();
            this.dtContractFromDate = new DateEdit();
            this.dtContractSignDate = new DateEdit();
            this.cboContractType = new ComboBoxEdit();
            this.cboContractCode = new ComboBoxEdit();
            this.layoutControlGroup17 = new LayoutControlGroup();
            this.lcContractCode = new LayoutControlItem();
            this.lcContractType = new LayoutControlItem();
            this.lcContractSignDate = new LayoutControlItem();
            this.lcContractFromDate = new LayoutControlItem();
            this.lcContractToDate = new LayoutControlItem();
            this.layoutControl14 = new LayoutControl();
            this.dtHealthInsuranceToDate = new DateEdit();
            this.dtHealthInsuranceFromDate = new DateEdit();
            this.txtHealthInsuranceCode = new TextEdit();
            this.cboProvince = new ComboBoxEdit();
            this.cboHospital = new ComboBoxEdit();
            this.layoutControlGroup14 = new LayoutControlGroup();
            this.lcHealthInsuranceCode = new LayoutControlItem();
            this.lcProvince = new LayoutControlItem();
            this.lcHealthInsuranceFromDate = new LayoutControlItem();
            this.lcHospital = new LayoutControlItem();
            this.lcHealthInsuranceToDate = new LayoutControlItem();
            this.layoutControl8 = new LayoutControl();
            this.txtInsurancePlace = new TextEdit();
            this.dtInsuranceDate = new DateEdit();
            this.txtInsuranceCode = new TextEdit();
            this.layoutControlGroup8 = new LayoutControlGroup();
            this.lcSocialInsuranceCode = new LayoutControlItem();
            this.lcSocialInsuranceDate = new LayoutControlItem();
            this.lcSocialInsurancePlace = new LayoutControlItem();
            this.layoutControlGroup16 = new LayoutControlGroup();
            this.lcgSocialInsurance = new LayoutControlGroup();
            this.layoutControlItem5 = new LayoutControlItem();
            this.lcgHealthInsurance = new LayoutControlGroup();
            this.layoutControlItem6 = new LayoutControlItem();
            this.lcgContract = new LayoutControlGroup();
            this.layoutControlItem7 = new LayoutControlItem();
            this.labelControl1 = new LabelControl();
            this.cheUnionMoney = new CheckEdit();
            this.cheUnemploymentInsurance = new CheckEdit();
            this.cheHealthInsurance = new CheckEdit();
            this.cheSocialInsurance = new CheckEdit();
            this.grWorkInformation = new GroupControl();
            this.layoutControl6 = new LayoutControl();
            this.cheIsYourSelfTax = new CheckEdit();
            this.calSalaryPeriod1 = new CalcEdit();
            this.calPercentSecondIncomeTax = new CalcEdit();
            this.cheIsSecondIncomeTax = new CheckEdit();
            this.calInsuranceSalary = new CalcEdit();
            this.calPayMoney = new CalcEdit();
            this.cboPayForm = new ComboBoxEdit();
            this.calMinimumSalary = new CalcEdit();
            this.calBasicSalary = new CalcEdit();
            this.calCoefficient = new CalcEdit();
            this.glkBranch = new GridLookUpEdit();
            this.gridLookUpEdit1View = new GridView();
            this.gridColumn5 = new GridColumn();
            this.gridColumn6 = new GridColumn();
            this.dtDateSalary = new DateEdit();
            this.glkDepartment = new GridLookUpEdit();
            this.gridView4 = new GridView();
            this.gridColumn7 = new GridColumn();
            this.gridColumn8 = new GridColumn();
            this.glkGroup = new GridLookUpEdit();
            this.gridView5 = new GridView();
            this.gridColumn9 = new GridColumn();
            this.gridColumn10 = new GridColumn();
            this.glkRankSalary = new GridLookUpEdit();
            this.gridView7 = new GridView();
            this.colRankCode = new GridColumn();
            this.colRankName = new GridColumn();
            this.cboStepSalary = new ComboBoxEdit();
            this.cboPosition = new ComboBoxEdit();
            this.glkGroupRateCode = new GridLookUpEdit();
            this.gridView1 = new GridView();
            this.colGroupRateCode = new GridColumn();
            this.colGroupRateName = new GridColumn();
            this.layoutControlGroup6 = new LayoutControlGroup();
            this.lcDepartment = new LayoutControlItem();
            this.lcBranch = new LayoutControlItem();
            this.lcGroup = new LayoutControlItem();
            this.lcPosition = new LayoutControlItem();
            this.lcMinimumSalary = new LayoutControlItem();
            this.lcBasicSalary = new LayoutControlItem();
            this.lcCoefficientSalary = new LayoutControlItem();
            this.emptySpaceItem1 = new EmptySpaceItem();
            this.lcRankSalary = new LayoutControlItem();
            this.lcStepSalary = new LayoutControlItem();
            this.lcPayForm = new LayoutControlItem();
            this.lcPayMoney = new LayoutControlItem();
            this.lcDateSalary = new LayoutControlItem();
            this.layoutControlItem16 = new LayoutControlItem();
            this.layoutControlItem17 = new LayoutControlItem();
            this.layoutControlItem14 = new LayoutControlItem();
            this.layoutControlItem8 = new LayoutControlItem();
            this.layoutControlItem18 = new LayoutControlItem();
            this.emptySpaceItem3 = new EmptySpaceItem();
            this.layoutControlItem13 = new LayoutControlItem();
            this.grMain = new GroupControl();
            this.layoutControl3 = new LayoutControl();
            this.dtEndDate = new DateEdit();
            this.dtBeginDate = new DateEdit();
            this.layoutControlGroup3 = new LayoutControlGroup();
            this.lcBeginDate = new LayoutControlItem();
            this.lcEndDate = new LayoutControlItem();
            this.cheIsOffWork = new CheckEdit();
            this.grTest = new GroupControl();
            this.layoutControl2 = new LayoutControl();
            this.calTestSalary = new CalcEdit();
            this.cheIsTest = new CheckEdit();
            this.cboTimeTest = new ComboBoxEdit();
            this.dtTestFromDate = new DateEdit();
            this.dtTestToDate = new DateEdit();
            this.layoutControlGroup2 = new LayoutControlGroup();
            this.lcTestFromDate = new LayoutControlItem();
            this.lcTestTime = new LayoutControlItem();
            this.lcTestToDate = new LayoutControlItem();
            this.lcTestSalary = new LayoutControlItem();
            this.layoutControlItem15 = new LayoutControlItem();
            this.tabContactInformation = new XtraTabPage();
            this.groupControl1 = new GroupControl();
            this.labelControl5 = new LabelControl();
            this.labelControl4 = new LabelControl();
            this.labelControl3 = new LabelControl();
            this.pictureBox3 = new PictureBox();
            this.pictureBox2 = new PictureBox();
            this.pictureBox1 = new PictureBox();
            this.txtFacebook = new TextEdit();
            this.layoutControl12 = new LayoutControl();
            this.txtUnionPlace = new TextEdit();
            this.dtUnionDate = new DateEdit();
            this.txtUnionCode = new TextEdit();
            this.cheIsUnion = new CheckEdit();
            this.layoutControlGroup12 = new LayoutControlGroup();
            this.lcUnionCode = new LayoutControlItem();
            this.lcUnionDate = new LayoutControlItem();
            this.lcUnionPlace = new LayoutControlItem();
            this.layoutControlItem64 = new LayoutControlItem();
            this.txtYahoo = new TextEdit();
            this.txtSkype = new TextEdit();
            this.grLabor = new GroupControl();
            this.layoutControl7 = new LayoutControl();
            this.txtLaborPlace = new TextEdit();
            this.dtLaborDate = new DateEdit();
            this.txtLaborCode = new TextEdit();
            this.layoutControlGroup7 = new LayoutControlGroup();
            this.lcLaborDate = new LayoutControlItem();
            this.lcLaborPlace = new LayoutControlItem();
            this.lcLaborCode = new LayoutControlItem();
            this.grParty = new GroupControl();
            this.layoutControl13 = new LayoutControl();
            this.txtPartyPlace = new TextEdit();
            this.dtPartyDate = new DateEdit();
            this.txtPartyCode = new TextEdit();
            this.cheIsParty = new CheckEdit();
            this.layoutControlGroup13 = new LayoutControlGroup();
            this.lcPartyCode = new LayoutControlItem();
            this.lcPartyDate = new LayoutControlItem();
            this.lcPartyPlace = new LayoutControlItem();
            this.layoutControlItem68 = new LayoutControlItem();
            this.grPassport = new GroupControl();
            this.layoutControl11 = new LayoutControl();
            this.dtPassportToDate = new DateEdit();
            this.dtPassportFromDate = new DateEdit();
            this.txtPassportCode = new TextEdit();
            this.layoutControlGroup11 = new LayoutControlGroup();
            this.lcPassportFromDate = new LayoutControlItem();
            this.lcPassportToDate = new LayoutControlItem();
            this.lcPassportCode = new LayoutControlItem();
            this.grMilitary = new GroupControl();
            this.layoutControl10 = new LayoutControl();
            this.txtMilitaryPosition = new TextEdit();
            this.dtMilitaryToDate = new DateEdit();
            this.dtMilitaryFromDate = new DateEdit();
            this.txtMilitaryCode = new TextEdit();
            this.layoutControlGroup10 = new LayoutControlGroup();
            this.lcMilitaryCode = new LayoutControlItem();
            this.lcMilitaryFromDate = new LayoutControlItem();
            this.lcMilitaryToDate = new LayoutControlItem();
            this.lcMilitaryPosition = new LayoutControlItem();
            this.grUnion = new GroupControl();
            this.grBankAccount = new GroupControl();
            this.layoutControl9 = new LayoutControl();
            this.txtBankAddress = new TextEdit();
            this.txtBankName = new TextEdit();
            this.dtBankDate = new DateEdit();
            this.txtBankCode = new TextEdit();
            this.layoutControlGroup9 = new LayoutControlGroup();
            this.lcBankCode = new LayoutControlItem();
            this.lcBankDate = new LayoutControlItem();
            this.lcBankName = new LayoutControlItem();
            this.lcBankAddress = new LayoutControlItem();
            this.tabAllowance = new XtraTabPage();
            this.gbAllowance = new GroupBox();
            this.groupBox1 = new GroupBox();
            this.layoutControl15 = new LayoutControl();
            this.calAllowance4 = new CalcEdit();
            this.calAllowance3 = new CalcEdit();
            this.calAllowance2 = new CalcEdit();
            this.calAllowance1 = new CalcEdit();
            this.layoutControlGroup15 = new LayoutControlGroup();
            this.layoutControlItem1 = new LayoutControlItem();
            this.layoutControlItem2 = new LayoutControlItem();
            this.layoutControlItem3 = new LayoutControlItem();
            this.layoutControlItem4 = new LayoutControlItem();
            this.tabPersonContact = new XtraTabPage();
            this.tabActivity = new XtraTabPage();
            this.tabSchedule = new XtraTabPage();
            this.tabUser = new XtraTabPage();
            this.groupBox2 = new GroupBox();
            this.labelControl2 = new LabelControl();
            this.btUser = new SimpleButton();
            ((ISupportInitialize) base.Err).BeginInit();
            base.imageCollection2.BeginInit();
            this.cboStatus.Properties.BeginInit();
            this.xtraTabControl1.BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.tabBasicInformation.SuspendLayout();
            this.layoutControl1.BeginInit();
            this.layoutControl1.SuspendLayout();
            this.cboReasonLeave.Properties.BeginInit();
            this.cboResidenceType.Properties.BeginInit();
            this.txtIncomeTaxCode.Properties.BeginInit();
            this.chcDegree.Properties.BeginInit();
            this.cboProfessional.Properties.BeginInit();
            this.txtEnrollNumber.Properties.BeginInit();
            this.txtDescription.Properties.BeginInit();
            this.grHealth.BeginInit();
            this.grHealth.SuspendLayout();
            this.layoutControl5.BeginInit();
            this.layoutControl5.SuspendLayout();
            this.calWeight.Properties.BeginInit();
            this.calHeight.Properties.BeginInit();
            this.txtHealth.Properties.BeginInit();
            this.layoutControlGroup5.BeginInit();
            this.lcHealth.BeginInit();
            this.lcHeight.BeginInit();
            this.lcWeight.BeginInit();
            this.cboInformatic.Properties.BeginInit();
            this.cboLanguage.Properties.BeginInit();
            this.cboEducation.Properties.BeginInit();
            this.txtEmail.Properties.BeginInit();
            this.txtHomePhone.Properties.BeginInit();
            this.txtCellPhone.Properties.BeginInit();
            this.txtAlias.Properties.BeginInit();
            this.cboMariage.Properties.BeginInit();
            this.grIDCard.BeginInit();
            this.grIDCard.SuspendLayout();
            this.layoutControl4.BeginInit();
            this.layoutControl4.SuspendLayout();
            this.txtIDCardPlace.Properties.BeginInit();
            this.dtIDCardDate.Properties.VistaTimeProperties.BeginInit();
            this.dtIDCardDate.Properties.BeginInit();
            this.txtIDCard.Properties.BeginInit();
            this.layoutControlGroup4.BeginInit();
            this.lcIDCard.BeginInit();
            this.lcIDCardDate.BeginInit();
            this.lcIDCardPlace.BeginInit();
            this.txtLastName.Properties.BeginInit();
            this.cheSex.Properties.BeginInit();
            this.imgPhoto.Properties.BeginInit();
            this.cboNationality.Properties.BeginInit();
            this.txtContactAddress.Properties.BeginInit();
            this.txtMainAddress.Properties.BeginInit();
            this.cboReligion.Properties.BeginInit();
            this.cboEthnic.Properties.BeginInit();
            this.txtBirthPlace.Properties.BeginInit();
            this.txtID.Properties.BeginInit();
            this.txtFirstName.Properties.BeginInit();
            this.cboSchool.Properties.BeginInit();
            this.layoutControlGroup1.BeginInit();
            this.lcNationality.BeginInit();
            this.lcEmployeeCode.BeginInit();
            this.lcBirthPlace.BeginInit();
            this.lcMainAddress.BeginInit();
            this.lcContactAddress.BeginInit();
            this.layoutControlItem11.BeginInit();
            this.layoutControlItem10.BeginInit();
            this.lcLastName.BeginInit();
            this.lcFirstName.BeginInit();
            this.lcAlias.BeginInit();
            this.lcMarriage.BeginInit();
            this.lcCellPhone.BeginInit();
            this.lcHomePhone.BeginInit();
            this.lcEmail.BeginInit();
            this.lcEthnic.BeginInit();
            this.lcReligion.BeginInit();
            this.lcEducation.BeginInit();
            this.lcLanguage.BeginInit();
            this.lcInformatic.BeginInit();
            this.layoutControlItem30.BeginInit();
            this.layoutControlItem34.BeginInit();
            this.lcProfessional.BeginInit();
            this.lcDegree.BeginInit();
            this.lcSchool.BeginInit();
            this.emptySpaceItem2.BeginInit();
            this.lcEnrollNumber.BeginInit();
            this.layoutControlItem12.BeginInit();
            this.layoutControlItem9.BeginInit();
            this.lcDescription.BeginInit();
            this.lcBirthday.BeginInit();
            this.lcReasonLeave.BeginInit();
            this.tabWorkInformation.SuspendLayout();
            this.layoutControl16.BeginInit();
            this.layoutControl16.SuspendLayout();
            this.layoutControl17.BeginInit();
            this.layoutControl17.SuspendLayout();
            this.dtContractToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtContractToDate.Properties.BeginInit();
            this.dtContractFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtContractFromDate.Properties.BeginInit();
            this.dtContractSignDate.Properties.VistaTimeProperties.BeginInit();
            this.dtContractSignDate.Properties.BeginInit();
            this.cboContractType.Properties.BeginInit();
            this.cboContractCode.Properties.BeginInit();
            this.layoutControlGroup17.BeginInit();
            this.lcContractCode.BeginInit();
            this.lcContractType.BeginInit();
            this.lcContractSignDate.BeginInit();
            this.lcContractFromDate.BeginInit();
            this.lcContractToDate.BeginInit();
            this.layoutControl14.BeginInit();
            this.layoutControl14.SuspendLayout();
            this.dtHealthInsuranceToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtHealthInsuranceToDate.Properties.BeginInit();
            this.dtHealthInsuranceFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtHealthInsuranceFromDate.Properties.BeginInit();
            this.txtHealthInsuranceCode.Properties.BeginInit();
            this.cboProvince.Properties.BeginInit();
            this.cboHospital.Properties.BeginInit();
            this.layoutControlGroup14.BeginInit();
            this.lcHealthInsuranceCode.BeginInit();
            this.lcProvince.BeginInit();
            this.lcHealthInsuranceFromDate.BeginInit();
            this.lcHospital.BeginInit();
            this.lcHealthInsuranceToDate.BeginInit();
            this.layoutControl8.BeginInit();
            this.layoutControl8.SuspendLayout();
            this.txtInsurancePlace.Properties.BeginInit();
            this.dtInsuranceDate.Properties.VistaTimeProperties.BeginInit();
            this.dtInsuranceDate.Properties.BeginInit();
            this.txtInsuranceCode.Properties.BeginInit();
            this.layoutControlGroup8.BeginInit();
            this.lcSocialInsuranceCode.BeginInit();
            this.lcSocialInsuranceDate.BeginInit();
            this.lcSocialInsurancePlace.BeginInit();
            this.layoutControlGroup16.BeginInit();
            this.lcgSocialInsurance.BeginInit();
            this.layoutControlItem5.BeginInit();
            this.lcgHealthInsurance.BeginInit();
            this.layoutControlItem6.BeginInit();
            this.lcgContract.BeginInit();
            this.layoutControlItem7.BeginInit();
            this.cheUnionMoney.Properties.BeginInit();
            this.cheUnemploymentInsurance.Properties.BeginInit();
            this.cheHealthInsurance.Properties.BeginInit();
            this.cheSocialInsurance.Properties.BeginInit();
            this.grWorkInformation.BeginInit();
            this.grWorkInformation.SuspendLayout();
            this.layoutControl6.BeginInit();
            this.layoutControl6.SuspendLayout();
            this.cheIsYourSelfTax.Properties.BeginInit();
            this.calSalaryPeriod1.Properties.BeginInit();
            this.calPercentSecondIncomeTax.Properties.BeginInit();
            this.cheIsSecondIncomeTax.Properties.BeginInit();
            this.calInsuranceSalary.Properties.BeginInit();
            this.calPayMoney.Properties.BeginInit();
            this.cboPayForm.Properties.BeginInit();
            this.calMinimumSalary.Properties.BeginInit();
            this.calBasicSalary.Properties.BeginInit();
            this.calCoefficient.Properties.BeginInit();
            this.glkBranch.Properties.BeginInit();
            this.gridLookUpEdit1View.BeginInit();
            this.dtDateSalary.Properties.VistaTimeProperties.BeginInit();
            this.dtDateSalary.Properties.BeginInit();
            this.glkDepartment.Properties.BeginInit();
            this.gridView4.BeginInit();
            this.glkGroup.Properties.BeginInit();
            this.gridView5.BeginInit();
            this.glkRankSalary.Properties.BeginInit();
            this.gridView7.BeginInit();
            this.cboStepSalary.Properties.BeginInit();
            this.cboPosition.Properties.BeginInit();
            this.glkGroupRateCode.Properties.BeginInit();
            this.gridView1.BeginInit();
            this.layoutControlGroup6.BeginInit();
            this.lcDepartment.BeginInit();
            this.lcBranch.BeginInit();
            this.lcGroup.BeginInit();
            this.lcPosition.BeginInit();
            this.lcMinimumSalary.BeginInit();
            this.lcBasicSalary.BeginInit();
            this.lcCoefficientSalary.BeginInit();
            this.emptySpaceItem1.BeginInit();
            this.lcRankSalary.BeginInit();
            this.lcStepSalary.BeginInit();
            this.lcPayForm.BeginInit();
            this.lcPayMoney.BeginInit();
            this.lcDateSalary.BeginInit();
            this.layoutControlItem16.BeginInit();
            this.layoutControlItem17.BeginInit();
            this.layoutControlItem14.BeginInit();
            this.layoutControlItem8.BeginInit();
            this.layoutControlItem18.BeginInit();
            this.emptySpaceItem3.BeginInit();
            this.layoutControlItem13.BeginInit();
            this.grMain.BeginInit();
            this.grMain.SuspendLayout();
            this.layoutControl3.BeginInit();
            this.layoutControl3.SuspendLayout();
            this.dtEndDate.Properties.VistaTimeProperties.BeginInit();
            this.dtEndDate.Properties.BeginInit();
            this.dtBeginDate.Properties.VistaTimeProperties.BeginInit();
            this.dtBeginDate.Properties.BeginInit();
            this.layoutControlGroup3.BeginInit();
            this.lcBeginDate.BeginInit();
            this.lcEndDate.BeginInit();
            this.cheIsOffWork.Properties.BeginInit();
            this.grTest.BeginInit();
            this.grTest.SuspendLayout();
            this.layoutControl2.BeginInit();
            this.layoutControl2.SuspendLayout();
            this.calTestSalary.Properties.BeginInit();
            this.cheIsTest.Properties.BeginInit();
            this.cboTimeTest.Properties.BeginInit();
            this.dtTestFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtTestFromDate.Properties.BeginInit();
            this.dtTestToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtTestToDate.Properties.BeginInit();
            this.layoutControlGroup2.BeginInit();
            this.lcTestFromDate.BeginInit();
            this.lcTestTime.BeginInit();
            this.lcTestToDate.BeginInit();
            this.lcTestSalary.BeginInit();
            this.layoutControlItem15.BeginInit();
            this.tabContactInformation.SuspendLayout();
            this.groupControl1.BeginInit();
            this.groupControl1.SuspendLayout();
            ((ISupportInitialize) this.pictureBox3).BeginInit();
            ((ISupportInitialize) this.pictureBox2).BeginInit();
            ((ISupportInitialize) this.pictureBox1).BeginInit();
            this.txtFacebook.Properties.BeginInit();
            this.layoutControl12.BeginInit();
            this.layoutControl12.SuspendLayout();
            this.txtUnionPlace.Properties.BeginInit();
            this.dtUnionDate.Properties.VistaTimeProperties.BeginInit();
            this.dtUnionDate.Properties.BeginInit();
            this.txtUnionCode.Properties.BeginInit();
            this.cheIsUnion.Properties.BeginInit();
            this.layoutControlGroup12.BeginInit();
            this.lcUnionCode.BeginInit();
            this.lcUnionDate.BeginInit();
            this.lcUnionPlace.BeginInit();
            this.layoutControlItem64.BeginInit();
            this.txtYahoo.Properties.BeginInit();
            this.txtSkype.Properties.BeginInit();
            this.grLabor.BeginInit();
            this.grLabor.SuspendLayout();
            this.layoutControl7.BeginInit();
            this.layoutControl7.SuspendLayout();
            this.txtLaborPlace.Properties.BeginInit();
            this.dtLaborDate.Properties.VistaTimeProperties.BeginInit();
            this.dtLaborDate.Properties.BeginInit();
            this.txtLaborCode.Properties.BeginInit();
            this.layoutControlGroup7.BeginInit();
            this.lcLaborDate.BeginInit();
            this.lcLaborPlace.BeginInit();
            this.lcLaborCode.BeginInit();
            this.grParty.BeginInit();
            this.grParty.SuspendLayout();
            this.layoutControl13.BeginInit();
            this.layoutControl13.SuspendLayout();
            this.txtPartyPlace.Properties.BeginInit();
            this.dtPartyDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPartyDate.Properties.BeginInit();
            this.txtPartyCode.Properties.BeginInit();
            this.cheIsParty.Properties.BeginInit();
            this.layoutControlGroup13.BeginInit();
            this.lcPartyCode.BeginInit();
            this.lcPartyDate.BeginInit();
            this.lcPartyPlace.BeginInit();
            this.layoutControlItem68.BeginInit();
            this.grPassport.BeginInit();
            this.grPassport.SuspendLayout();
            this.layoutControl11.BeginInit();
            this.layoutControl11.SuspendLayout();
            this.dtPassportToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPassportToDate.Properties.BeginInit();
            this.dtPassportFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtPassportFromDate.Properties.BeginInit();
            this.txtPassportCode.Properties.BeginInit();
            this.layoutControlGroup11.BeginInit();
            this.lcPassportFromDate.BeginInit();
            this.lcPassportToDate.BeginInit();
            this.lcPassportCode.BeginInit();
            this.grMilitary.BeginInit();
            this.grMilitary.SuspendLayout();
            this.layoutControl10.BeginInit();
            this.layoutControl10.SuspendLayout();
            this.txtMilitaryPosition.Properties.BeginInit();
            this.dtMilitaryToDate.Properties.VistaTimeProperties.BeginInit();
            this.dtMilitaryToDate.Properties.BeginInit();
            this.dtMilitaryFromDate.Properties.VistaTimeProperties.BeginInit();
            this.dtMilitaryFromDate.Properties.BeginInit();
            this.txtMilitaryCode.Properties.BeginInit();
            this.layoutControlGroup10.BeginInit();
            this.lcMilitaryCode.BeginInit();
            this.lcMilitaryFromDate.BeginInit();
            this.lcMilitaryToDate.BeginInit();
            this.lcMilitaryPosition.BeginInit();
            this.grUnion.BeginInit();
            this.grUnion.SuspendLayout();
            this.grBankAccount.BeginInit();
            this.grBankAccount.SuspendLayout();
            this.layoutControl9.BeginInit();
            this.layoutControl9.SuspendLayout();
            this.txtBankAddress.Properties.BeginInit();
            this.txtBankName.Properties.BeginInit();
            this.dtBankDate.Properties.VistaTimeProperties.BeginInit();
            this.dtBankDate.Properties.BeginInit();
            this.txtBankCode.Properties.BeginInit();
            this.layoutControlGroup9.BeginInit();
            this.lcBankCode.BeginInit();
            this.lcBankDate.BeginInit();
            this.lcBankName.BeginInit();
            this.lcBankAddress.BeginInit();
            this.tabAllowance.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.layoutControl15.BeginInit();
            this.layoutControl15.SuspendLayout();
            this.calAllowance4.Properties.BeginInit();
            this.calAllowance3.Properties.BeginInit();
            this.calAllowance2.Properties.BeginInit();
            this.calAllowance1.Properties.BeginInit();
            this.layoutControlGroup15.BeginInit();
            this.layoutControlItem1.BeginInit();
            this.layoutControlItem2.BeginInit();
            this.layoutControlItem3.BeginInit();
            this.layoutControlItem4.BeginInit();
            this.tabUser.SuspendLayout();
            this.groupBox2.SuspendLayout();
            base.SuspendLayout();
            base.btnSave.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            base.btnSave.Location = new Point(0x197, 0x1fa);
            base.btnSave.TabIndex = 3;
            base.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            base.btnCancel.Location = new Point(0x264, 0x1fa);
            base.btnCancel.TabIndex = 5;
            base.btnSaveNew.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            base.btnSaveNew.Location = new Point(0x1fc, 0x1fa);
            base.btnSaveNew.TabIndex = 4;
            base.imageCollection2.ImageStream = (ImageCollectionStreamer) manager.GetObject("imageCollection2.ImageStream");
            this.lcStatus.AllowHtmlString = true;
            this.lcStatus.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            this.lcStatus.Location = new Point(15, 0x200);
            this.lcStatus.Name = "lcStatus";
            this.lcStatus.Size = new Size(0x75, 14);
            this.lcStatus.TabIndex = 1;
            this.lcStatus.Text = "Trạng th\x00e1i nh\x00e2n vi\x00ean<color=red>(*)</color>:";
            this.cboStatus.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
            this.cboStatus.EditValue = "Đang l\x00e0m việc";
            this.cboStatus.Location = new Point(0x8a, 0x1fd);
            this.cboStatus.Name = "cboStatus";
            this.cboStatus.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.cboStatus.Properties.Appearance.Options.UseFont = true;
            this.cboStatus.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboStatus.Properties.Items.AddRange(new object[] { "Đang thử việc", "Đang l\x00e0m việc", "Đ\x00e3 nghỉ việc" });
            this.cboStatus.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.cboStatus.Size = new Size(0xe2, 20);
            this.cboStatus.TabIndex = 2;
            this.cboStatus.SelectedIndexChanged += new EventHandler(this.cboStatus_SelectedIndexChanged);
            this.xtraTabControl1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.xtraTabControl1.AppearancePage.Header.Options.UseTextOptions = true;
            this.xtraTabControl1.AppearancePage.Header.TextOptions.HAlignment = HorzAlignment.Center;
            this.xtraTabControl1.HeaderButtons = TabButtons.Default | TabButtons.Next | TabButtons.Prev;
            this.xtraTabControl1.HeaderButtonsShowMode = TabButtonShowMode.Always;
            this.xtraTabControl1.ImeMode = ImeMode.NoControl;
            this.xtraTabControl1.Location = new Point(2, 2);
            this.xtraTabControl1.MultiLine = DefaultBoolean.True;
            this.xtraTabControl1.Name = "xtraTabControl1";
            this.xtraTabControl1.SelectedTabPage = this.tabBasicInformation;
            this.xtraTabControl1.Size = new Size(0x2cc, 0x1f2);
            this.xtraTabControl1.TabIndex = 0;
            this.xtraTabControl1.TabPages.AddRange(new XtraTabPage[] { this.tabBasicInformation, this.tabWorkInformation, this.tabContactInformation, this.tabAllowance, this.tabPersonContact, this.tabActivity, this.tabSchedule, this.tabUser });
            this.xtraTabControl1.Selected += new TabPageEventHandler(this.xtraTabControl1_Selected);
            this.tabBasicInformation.Controls.Add(this.layoutControl1);
            this.tabBasicInformation.Name = "tabBasicInformation";
            this.tabBasicInformation.Size = new Size(0x2c5, 0x1bf);
            this.tabBasicInformation.Text = "Th\x00f4ng Tin C\x00e1 Nh\x00e2n";
            this.layoutControl1.Controls.Add(this.cboReasonLeave);
            this.layoutControl1.Controls.Add(this.xdeBirthday);
            this.layoutControl1.Controls.Add(this.cboResidenceType);
            this.layoutControl1.Controls.Add(this.txtIncomeTaxCode);
            this.layoutControl1.Controls.Add(this.chcDegree);
            this.layoutControl1.Controls.Add(this.cboProfessional);
            this.layoutControl1.Controls.Add(this.txtEnrollNumber);
            this.layoutControl1.Controls.Add(this.txtDescription);
            this.layoutControl1.Controls.Add(this.grHealth);
            this.layoutControl1.Controls.Add(this.cboInformatic);
            this.layoutControl1.Controls.Add(this.cboLanguage);
            this.layoutControl1.Controls.Add(this.cboEducation);
            this.layoutControl1.Controls.Add(this.txtEmail);
            this.layoutControl1.Controls.Add(this.txtHomePhone);
            this.layoutControl1.Controls.Add(this.txtCellPhone);
            this.layoutControl1.Controls.Add(this.txtAlias);
            this.layoutControl1.Controls.Add(this.cboMariage);
            this.layoutControl1.Controls.Add(this.grIDCard);
            this.layoutControl1.Controls.Add(this.txtLastName);
            this.layoutControl1.Controls.Add(this.cheSex);
            this.layoutControl1.Controls.Add(this.imgPhoto);
            this.layoutControl1.Controls.Add(this.cboNationality);
            this.layoutControl1.Controls.Add(this.txtContactAddress);
            this.layoutControl1.Controls.Add(this.txtMainAddress);
            this.layoutControl1.Controls.Add(this.cboReligion);
            this.layoutControl1.Controls.Add(this.cboEthnic);
            this.layoutControl1.Controls.Add(this.txtBirthPlace);
            this.layoutControl1.Controls.Add(this.txtID);
            this.layoutControl1.Controls.Add(this.txtFirstName);
            this.layoutControl1.Controls.Add(this.cboSchool);
            this.layoutControl1.Dock = DockStyle.Fill;
            this.layoutControl1.Location = new Point(0, 0);
            this.layoutControl1.Name = "layoutControl1";
            this.layoutControl1.OptionsView.AllowHotTrack = true;
            this.layoutControl1.OptionsView.HighlightDisabledItem = true;
            this.layoutControl1.OptionsView.HighlightFocusedItem = true;
            this.layoutControl1.Root = this.layoutControlGroup1;
            this.layoutControl1.Size = new Size(0x2c5, 0x1bf);
            this.layoutControl1.TabIndex = 2;
            this.layoutControl1.Text = "layoutControl1";
            this.cboReasonLeave.Location = new Point(0x163, 0x191);
            this.cboReasonLeave.Name = "cboReasonLeave";
            this.cboReasonLeave.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboReasonLeave.Properties.Items.AddRange(new object[] { "Nghỉ hưu", "Hết thời hạn hợp đồng lao động", "Th\x00f4i việc trước thời hạn", "Mất việc l\x00e0m", "Tự \x00fd bỏ việc", "Sa thải do kỷ luật lao động", "L\x00fd do kh\x00e1c" });
            this.cboReasonLeave.Size = new Size(0x160, 20);
            this.cboReasonLeave.StyleController = this.layoutControl1;
            this.cboReasonLeave.TabIndex = 0x1c;
            this.xdeBirthday.Day = 1;
            this.xdeBirthday.Location = new Point(0xce, 0x1a);
            this.xdeBirthday.Month = 1;
            this.xdeBirthday.Name = "xdeBirthday";
            this.xdeBirthday.ReadOnly = false;
            this.xdeBirthday.Size = new Size(0xb6, 20);
            this.xdeBirthday.TabIndex = 6;
            this.xdeBirthday.Year = 0x7dd;
            this.cboResidenceType.Location = new Point(0x1bd, 0x114);
            this.cboResidenceType.Name = "cboResidenceType";
            this.cboResidenceType.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboResidenceType.Properties.Items.AddRange(new object[] { "C\x00e1 nh\x00e2n cư tr\x00fa c\x00f3 hợp đồng lao động", "C\x00e1 nh\x00e2n cư tr\x00fa kh\x00f4ng c\x00f3 hợp đồng lao động", "C\x00e1 nh\x00e2n kh\x00f4ng cư tr\x00fa" });
            this.cboResidenceType.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.cboResidenceType.Size = new Size(0x106, 20);
            this.cboResidenceType.StyleController = this.layoutControl1;
            this.cboResidenceType.TabIndex = 8;
            this.cboResidenceType.SelectedIndexChanged += new EventHandler(this.cboResidenceType_SelectedIndexChanged);
            this.txtIncomeTaxCode.Location = new Point(0x5b, 0x114);
            this.txtIncomeTaxCode.Name = "txtIncomeTaxCode";
            this.txtIncomeTaxCode.Size = new Size(0x105, 20);
            this.txtIncomeTaxCode.StyleController = this.layoutControl1;
            this.txtIncomeTaxCode.TabIndex = 0x1b;
            this.chcDegree.Location = new Point(0x1bf, 0xe0);
            this.chcDegree.Name = "chcDegree";
            this.chcDegree.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("chcDegree.Properties.Buttons"), new KeyShortcut(Keys.None), appearance, "", null, null, true) });
            this.chcDegree.Size = new Size(260, 0x16);
            this.chcDegree.StyleController = this.layoutControl1;
            this.chcDegree.TabIndex = 20;
            this.chcDegree.ButtonClick += new ButtonPressedEventHandler(this.chc_ButtonClick);
            this.cboProfessional.Location = new Point(0x5b, 0xe0);
            this.cboProfessional.Name = "cboProfessional";
            this.cboProfessional.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboProfessional.Properties.Buttons"), new KeyShortcut(Keys.None), obj3, "", null, null, true) });
            this.cboProfessional.Size = new Size(0x107, 0x16);
            this.cboProfessional.StyleController = this.layoutControl1;
            this.cboProfessional.TabIndex = 0x13;
            this.cboProfessional.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtEnrollNumber.Location = new Point(0x5b, 0x191);
            this.txtEnrollNumber.Name = "txtEnrollNumber";
            this.txtEnrollNumber.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtEnrollNumber.Properties.Appearance.Options.UseFont = true;
            this.txtEnrollNumber.Size = new Size(180, 20);
            this.txtEnrollNumber.StyleController = this.layoutControl1;
            this.txtEnrollNumber.TabIndex = 0x18;
            this.txtDescription.Location = new Point(0x5b, 0x1a9);
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.Size = new Size(0x268, 20);
            this.txtDescription.StyleController = this.layoutControl1;
            this.txtDescription.TabIndex = 0x19;
            this.grHealth.Controls.Add(this.layoutControl5);
            this.grHealth.Location = new Point(0x166, 0x138);
            this.grHealth.Name = "grHealth";
            this.grHealth.Size = new Size(0x15d, 0x55);
            this.grHealth.TabIndex = 0x17;
            this.grHealth.Text = "T\x00ecnh Trạng Sức Khỏe";
            this.layoutControl5.Controls.Add(this.calWeight);
            this.layoutControl5.Controls.Add(this.calHeight);
            this.layoutControl5.Controls.Add(this.txtHealth);
            this.layoutControl5.Dock = DockStyle.Fill;
            this.layoutControl5.Location = new Point(2, 0x16);
            this.layoutControl5.Name = "layoutControl5";
            this.layoutControl5.OptionsView.AllowHotTrack = true;
            this.layoutControl5.OptionsView.HighlightDisabledItem = true;
            this.layoutControl5.OptionsView.HighlightFocusedItem = true;
            this.layoutControl5.Root = this.layoutControlGroup5;
            this.layoutControl5.Size = new Size(0x159, 0x3d);
            this.layoutControl5.TabIndex = 0;
            this.layoutControl5.Text = "layoutControl5";
            this.calWeight.Location = new Point(0xff, 30);
            this.calWeight.Name = "calWeight";
            this.calWeight.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calWeight.Size = new Size(0x54, 20);
            this.calWeight.StyleController = this.layoutControl5;
            this.calWeight.TabIndex = 2;
            this.calHeight.Location = new Point(0x6d, 30);
            this.calHeight.Name = "calHeight";
            this.calHeight.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calHeight.Size = new Size(0x57, 20);
            this.calHeight.StyleController = this.layoutControl5;
            this.calHeight.TabIndex = 1;
            this.txtHealth.Location = new Point(0x6d, 6);
            this.txtHealth.Name = "txtHealth";
            this.txtHealth.Size = new Size(230, 20);
            this.txtHealth.StyleController = this.layoutControl5;
            this.txtHealth.TabIndex = 0;
            this.layoutControlGroup5.CustomizationFormText = "layoutControlGroup5";
            this.layoutControlGroup5.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup5.GroupBordersVisible = false;
            this.layoutControlGroup5.Items.AddRange(new BaseLayoutItem[] { this.lcHealth, this.lcHeight, this.lcWeight });
            this.layoutControlGroup5.Location = new Point(0, 0);
            this.layoutControlGroup5.Name = "layoutControlGroup5";
            this.layoutControlGroup5.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup5.Size = new Size(0x159, 0x3d);
            this.layoutControlGroup5.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup5.Text = "layoutControlGroup5";
            this.layoutControlGroup5.TextVisible = false;
            this.lcHealth.Control = this.txtHealth;
            this.lcHealth.CustomizationFormText = "T\x00ecnh trạng sức khỏe:";
            this.lcHealth.Location = new Point(0, 0);
            this.lcHealth.Name = "lcHealth";
            this.lcHealth.Size = new Size(0x151, 0x18);
            this.lcHealth.Text = "T\x00ecnh trạng sức khỏe:";
            this.lcHealth.TextSize = new Size(0x63, 13);
            this.lcHeight.Control = this.calHeight;
            this.lcHeight.CustomizationFormText = "Chiều cao:";
            this.lcHeight.Location = new Point(0, 0x18);
            this.lcHeight.Name = "lcHeight";
            this.lcHeight.Size = new Size(0xc2, 0x1d);
            this.lcHeight.Text = "Chiều cao:";
            this.lcHeight.TextSize = new Size(0x63, 13);
            this.lcWeight.Control = this.calWeight;
            this.lcWeight.CustomizationFormText = "C\x00e2n nặng:";
            this.lcWeight.Location = new Point(0xc2, 0x18);
            this.lcWeight.Name = "lcWeight";
            this.lcWeight.Size = new Size(0x8f, 0x1d);
            this.lcWeight.Text = "C\x00e2n nặng:";
            this.lcWeight.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcWeight.TextSize = new Size(50, 13);
            this.lcWeight.TextToControlDistance = 5;
            this.cboInformatic.Location = new Point(0x1bf, 0xc6);
            this.cboInformatic.Name = "cboInformatic";
            this.cboInformatic.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboInformatic.Properties.Buttons"), new KeyShortcut(Keys.None), obj4, "", null, null, true) });
            this.cboInformatic.Size = new Size(260, 0x16);
            this.cboInformatic.StyleController = this.layoutControl1;
            this.cboInformatic.TabIndex = 0x12;
            this.cboInformatic.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboLanguage.Location = new Point(0x5b, 0xc6);
            this.cboLanguage.Name = "cboLanguage";
            this.cboLanguage.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboLanguage.Properties.Buttons"), new KeyShortcut(Keys.None), obj5, "", null, null, true) });
            this.cboLanguage.Size = new Size(0x107, 0x16);
            this.cboLanguage.StyleController = this.layoutControl1;
            this.cboLanguage.TabIndex = 0x11;
            this.cboLanguage.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboEducation.Location = new Point(0x1bf, 0xac);
            this.cboEducation.Name = "cboEducation";
            this.cboEducation.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboEducation.Properties.Buttons"), new KeyShortcut(Keys.None), obj6, "", null, null, true) });
            this.cboEducation.Size = new Size(260, 0x16);
            this.cboEducation.StyleController = this.layoutControl1;
            this.cboEducation.TabIndex = 0x10;
            this.cboEducation.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtEmail.Location = new Point(0x1d1, 0x7a);
            this.txtEmail.Name = "txtEmail";
            this.txtEmail.Size = new Size(0xf2, 20);
            this.txtEmail.StyleController = this.layoutControl1;
            this.txtEmail.TabIndex = 12;
            this.txtHomePhone.Location = new Point(0x14b, 0x7a);
            this.txtHomePhone.Name = "txtHomePhone";
            this.txtHomePhone.Size = new Size(0x61, 20);
            this.txtHomePhone.StyleController = this.layoutControl1;
            this.txtHomePhone.TabIndex = 11;
            this.txtCellPhone.Location = new Point(0x5b, 0x7a);
            this.txtCellPhone.Name = "txtCellPhone";
            this.txtCellPhone.Size = new Size(0x9d, 20);
            this.txtCellPhone.StyleController = this.layoutControl1;
            this.txtCellPhone.TabIndex = 10;
            this.txtAlias.Location = new Point(0xce, 50);
            this.txtAlias.Name = "txtAlias";
            this.txtAlias.Size = new Size(0x77, 20);
            this.txtAlias.StyleController = this.layoutControl1;
            this.txtAlias.TabIndex = 6;
            this.cboMariage.Location = new Point(0x1b6, 50);
            this.cboMariage.Name = "cboMariage";
            this.cboMariage.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboMariage.Properties.Items.AddRange(new object[] { "Đ\x00e3 kết h\x00f4n", "Chưa kết h\x00f4n", "Đ\x00e3 ly h\x00f4n", "Mất chồng/Mất vợ" });
            this.cboMariage.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.cboMariage.Size = new Size(0x10d, 20);
            this.cboMariage.StyleController = this.layoutControl1;
            this.cboMariage.TabIndex = 7;
            this.grIDCard.Controls.Add(this.layoutControl4);
            this.grIDCard.Location = new Point(2, 0x138);
            this.grIDCard.Name = "grIDCard";
            this.grIDCard.Size = new Size(0x160, 0x55);
            this.grIDCard.TabIndex = 0x16;
            this.grIDCard.Text = "Chứng Minh Nh\x00e2n D\x00e2n";
            this.layoutControl4.Controls.Add(this.txtIDCardPlace);
            this.layoutControl4.Controls.Add(this.dtIDCardDate);
            this.layoutControl4.Controls.Add(this.txtIDCard);
            this.layoutControl4.Dock = DockStyle.Fill;
            this.layoutControl4.Location = new Point(2, 0x16);
            this.layoutControl4.Name = "layoutControl4";
            this.layoutControl4.OptionsView.AllowHotTrack = true;
            this.layoutControl4.OptionsView.HighlightDisabledItem = true;
            this.layoutControl4.OptionsView.HighlightFocusedItem = true;
            this.layoutControl4.Root = this.layoutControlGroup4;
            this.layoutControl4.Size = new Size(0x15c, 0x3d);
            this.layoutControl4.TabIndex = 0;
            this.layoutControl4.Text = "layoutControl4";
            this.txtIDCardPlace.Location = new Point(0x3b, 30);
            this.txtIDCardPlace.Name = "txtIDCardPlace";
            this.txtIDCardPlace.Size = new Size(0x11b, 20);
            this.txtIDCardPlace.StyleController = this.layoutControl4;
            this.txtIDCardPlace.TabIndex = 2;
            this.dtIDCardDate.EditValue = null;
            this.dtIDCardDate.Location = new Point(0xf4, 6);
            this.dtIDCardDate.Name = "dtIDCardDate";
            this.dtIDCardDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtIDCardDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtIDCardDate.Size = new Size(0x62, 20);
            this.dtIDCardDate.StyleController = this.layoutControl4;
            this.dtIDCardDate.TabIndex = 1;
            this.txtIDCard.Location = new Point(0x3b, 6);
            this.txtIDCard.Name = "txtIDCard";
            this.txtIDCard.Size = new Size(0x80, 20);
            this.txtIDCard.StyleController = this.layoutControl4;
            this.txtIDCard.TabIndex = 0;
            this.layoutControlGroup4.CustomizationFormText = "layoutControlGroup4";
            this.layoutControlGroup4.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup4.GroupBordersVisible = false;
            this.layoutControlGroup4.Items.AddRange(new BaseLayoutItem[] { this.lcIDCard, this.lcIDCardDate, this.lcIDCardPlace });
            this.layoutControlGroup4.Location = new Point(0, 0);
            this.layoutControlGroup4.Name = "layoutControlGroup4";
            this.layoutControlGroup4.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup4.Size = new Size(0x15c, 0x3d);
            this.layoutControlGroup4.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup4.Text = "layoutControlGroup4";
            this.layoutControlGroup4.TextVisible = false;
            this.lcIDCard.Control = this.txtIDCard;
            this.lcIDCard.CustomizationFormText = "Số CMND:";
            this.lcIDCard.Location = new Point(0, 0);
            this.lcIDCard.Name = "lcIDCard";
            this.lcIDCard.Size = new Size(0xb9, 0x18);
            this.lcIDCard.Text = "Số CMND:";
            this.lcIDCard.TextSize = new Size(0x31, 13);
            this.lcIDCardDate.Control = this.dtIDCardDate;
            this.lcIDCardDate.CustomizationFormText = "Ng\x00e0y cấp:";
            this.lcIDCardDate.Location = new Point(0xb9, 0);
            this.lcIDCardDate.Name = "lcIDCardDate";
            this.lcIDCardDate.Size = new Size(0x9b, 0x18);
            this.lcIDCardDate.Text = "Ng\x00e0y cấp:";
            this.lcIDCardDate.TextSize = new Size(0x31, 13);
            this.lcIDCardPlace.Control = this.txtIDCardPlace;
            this.lcIDCardPlace.CustomizationFormText = "Nơi cấp:";
            this.lcIDCardPlace.Location = new Point(0, 0x18);
            this.lcIDCardPlace.Name = "lcIDCardPlace";
            this.lcIDCardPlace.Size = new Size(340, 0x1d);
            this.lcIDCardPlace.Text = "Nơi cấp:";
            this.lcIDCardPlace.TextSize = new Size(0x31, 13);
            this.txtLastName.Location = new Point(0x23d, 2);
            this.txtLastName.Name = "txtLastName";
            this.txtLastName.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtLastName.Properties.Appearance.Options.UseFont = true;
            this.txtLastName.Size = new Size(0x52, 20);
            this.txtLastName.StyleController = this.layoutControl1;
            this.txtLastName.TabIndex = 2;
            this.txtLastName.EditValueChanged += new EventHandler(this.txtLastName_EditValueChanged);
            this.cheSex.Location = new Point(0x293, 2);
            this.cheSex.Name = "cheSex";
            this.cheSex.Properties.Caption = "Nam";
            this.cheSex.Size = new Size(0x30, 0x13);
            this.cheSex.StyleController = this.layoutControl1;
            this.cheSex.TabIndex = 3;
            this.imgPhoto.Location = new Point(2, 2);
            this.imgPhoto.Name = "imgPhoto";
            this.imgPhoto.Properties.NullText = "[Chưa c\x00f3 h\x00ecnh]";
            this.imgPhoto.Properties.SizeMode = PictureSizeMode.Zoom;
            this.imgPhoto.Size = new Size(0x6f, 0x74);
            this.imgPhoto.StyleController = this.layoutControl1;
            this.imgPhoto.TabIndex = 13;
            this.cboNationality.Location = new Point(0x5b, 0x92);
            this.cboNationality.Name = "cboNationality";
            this.cboNationality.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboNationality.Properties.Buttons"), new KeyShortcut(Keys.None), obj7, "", null, null, true) });
            this.cboNationality.Size = new Size(0x107, 0x16);
            this.cboNationality.StyleController = this.layoutControl1;
            this.cboNationality.TabIndex = 13;
            this.cboNationality.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtContactAddress.Location = new Point(0xce, 0x62);
            this.txtContactAddress.Name = "txtContactAddress";
            this.txtContactAddress.Size = new Size(0x1f5, 20);
            this.txtContactAddress.StyleController = this.layoutControl1;
            this.txtContactAddress.TabIndex = 9;
            this.txtMainAddress.Location = new Point(0xce, 0x4a);
            this.txtMainAddress.Name = "txtMainAddress";
            this.txtMainAddress.Size = new Size(0x1f5, 20);
            this.txtMainAddress.StyleController = this.layoutControl1;
            this.txtMainAddress.TabIndex = 8;
            this.cboReligion.Location = new Point(0x5b, 0xac);
            this.cboReligion.Name = "cboReligion";
            this.cboReligion.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboReligion.Properties.Buttons"), new KeyShortcut(Keys.None), obj8, "", null, null, true) });
            this.cboReligion.Size = new Size(0x107, 0x16);
            this.cboReligion.StyleController = this.layoutControl1;
            this.cboReligion.TabIndex = 15;
            this.cboReligion.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboEthnic.Location = new Point(0x1bf, 0x92);
            this.cboEthnic.Name = "cboEthnic";
            this.cboEthnic.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboEthnic.Properties.Buttons"), new KeyShortcut(Keys.None), obj9, "", null, null, true) });
            this.cboEthnic.Size = new Size(260, 0x16);
            this.cboEthnic.StyleController = this.layoutControl1;
            this.cboEthnic.TabIndex = 14;
            this.cboEthnic.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.txtBirthPlace.Location = new Point(0x1b6, 0x1a);
            this.txtBirthPlace.Name = "txtBirthPlace";
            this.txtBirthPlace.Size = new Size(0x10d, 20);
            this.txtBirthPlace.StyleController = this.layoutControl1;
            this.txtBirthPlace.TabIndex = 5;
            this.txtID.Location = new Point(0xce, 2);
            this.txtID.Name = "txtID";
            this.txtID.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtID.Properties.Appearance.Options.UseFont = true;
            this.txtID.Size = new Size(0x76, 20);
            this.txtID.StyleController = this.layoutControl1;
            this.txtID.TabIndex = 0;
            this.txtID.EditValueChanged += new EventHandler(this.txtID_EditValueChanged);
            this.txtID.KeyDown += new KeyEventHandler(this.txtID_KeyDown);
            this.txtFirstName.Location = new Point(0x17e, 2);
            this.txtFirstName.Name = "txtFirstName";
            this.txtFirstName.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.txtFirstName.Properties.Appearance.Options.UseFont = true;
            this.txtFirstName.Size = new Size(0x8f, 20);
            this.txtFirstName.StyleController = this.layoutControl1;
            this.txtFirstName.TabIndex = 1;
            this.txtFirstName.EditValueChanged += new EventHandler(this.txtFirstName_EditValueChanged);
            this.cboSchool.Location = new Point(0x5b, 250);
            this.cboSchool.Name = "cboSchool";
            this.cboSchool.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboSchool.Properties.Buttons"), new KeyShortcut(Keys.None), obj10, "", null, null, true) });
            this.cboSchool.Size = new Size(0x268, 0x16);
            this.cboSchool.StyleController = this.layoutControl1;
            this.cboSchool.TabIndex = 0x15;
            this.cboSchool.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new BaseLayoutItem[] { 
                this.lcNationality, this.lcEmployeeCode, this.lcBirthPlace, this.lcMainAddress, this.lcContactAddress, this.layoutControlItem11, this.layoutControlItem10, this.lcLastName, this.lcFirstName, this.lcAlias, this.lcMarriage, this.lcCellPhone, this.lcHomePhone, this.lcEmail, this.lcEthnic, this.lcReligion, 
                this.lcEducation, this.lcLanguage, this.lcInformatic, this.layoutControlItem30, this.layoutControlItem34, this.lcProfessional, this.lcDegree, this.lcSchool, this.emptySpaceItem2, this.lcEnrollNumber, this.layoutControlItem12, this.layoutControlItem9, this.lcDescription, this.lcBirthday, this.lcReasonLeave
             });
            this.layoutControlGroup1.Location = new Point(0, 0);
            this.layoutControlGroup1.Name = "layoutControlGroup1";
            this.layoutControlGroup1.Size = new Size(0x2c5, 0x1bf);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "layoutControlGroup1";
            this.layoutControlGroup1.TextVisible = false;
            this.lcNationality.Control = this.cboNationality;
            this.lcNationality.CustomizationFormText = "layoutControlItem7";
            this.lcNationality.Location = new Point(0, 0x90);
            this.lcNationality.Name = "lcNationality";
            this.lcNationality.Size = new Size(0x164, 0x1a);
            this.lcNationality.Text = "Quốc tịch:";
            this.lcNationality.TextSize = new Size(0x55, 13);
            this.lcEmployeeCode.AllowHtmlStringInCaption = true;
            this.lcEmployeeCode.Control = this.txtID;
            this.lcEmployeeCode.CustomizationFormText = "layoutControlItem2";
            this.lcEmployeeCode.Location = new Point(0x73, 0);
            this.lcEmployeeCode.Name = "lcEmployeeCode";
            this.lcEmployeeCode.Size = new Size(0xd3, 0x18);
            this.lcEmployeeCode.Text = "M\x00e3 nh\x00e2n vi\x00ean <color=red>(*)</color>:";
            this.lcEmployeeCode.TextSize = new Size(0x55, 14);
            this.lcBirthPlace.Control = this.txtBirthPlace;
            this.lcBirthPlace.CustomizationFormText = "layoutControlItem4";
            this.lcBirthPlace.Location = new Point(390, 0x18);
            this.lcBirthPlace.Name = "lcBirthPlace";
            this.lcBirthPlace.Size = new Size(0x13f, 0x18);
            this.lcBirthPlace.Text = "Nơi sinh:";
            this.lcBirthPlace.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcBirthPlace.TextSize = new Size(0x29, 13);
            this.lcBirthPlace.TextToControlDistance = 5;
            this.lcMainAddress.Control = this.txtMainAddress;
            this.lcMainAddress.CustomizationFormText = "layoutControlItem5";
            this.lcMainAddress.Location = new Point(0x73, 0x48);
            this.lcMainAddress.Name = "lcMainAddress";
            this.lcMainAddress.Size = new Size(0x252, 0x18);
            this.lcMainAddress.Text = "Địa chỉ:";
            this.lcMainAddress.TextSize = new Size(0x55, 13);
            this.lcContactAddress.Control = this.txtContactAddress;
            this.lcContactAddress.CustomizationFormText = "layoutControlItem6";
            this.lcContactAddress.Location = new Point(0x73, 0x60);
            this.lcContactAddress.Name = "lcContactAddress";
            this.lcContactAddress.Size = new Size(0x252, 0x18);
            this.lcContactAddress.Text = "Tạm tr\x00fa:";
            this.lcContactAddress.TextSize = new Size(0x55, 13);
            this.layoutControlItem11.Control = this.imgPhoto;
            this.layoutControlItem11.CustomizationFormText = "layoutControlItem11";
            this.layoutControlItem11.Location = new Point(0, 0);
            this.layoutControlItem11.Name = "layoutControlItem11";
            this.layoutControlItem11.Size = new Size(0x73, 120);
            this.layoutControlItem11.Text = "layoutControlItem11";
            this.layoutControlItem11.TextSize = new Size(0, 0);
            this.layoutControlItem11.TextToControlDistance = 0;
            this.layoutControlItem11.TextVisible = false;
            this.layoutControlItem10.Control = this.cheSex;
            this.layoutControlItem10.CustomizationFormText = "layoutControlItem10";
            this.layoutControlItem10.Location = new Point(0x291, 0);
            this.layoutControlItem10.Name = "layoutControlItem10";
            this.layoutControlItem10.Size = new Size(0x34, 0x18);
            this.layoutControlItem10.Text = "layoutControlItem10";
            this.layoutControlItem10.TextSize = new Size(0, 0);
            this.layoutControlItem10.TextToControlDistance = 0;
            this.layoutControlItem10.TextVisible = false;
            this.lcLastName.AllowHtmlStringInCaption = true;
            this.lcLastName.Control = this.txtLastName;
            this.lcLastName.CustomizationFormText = "T\x00ean:";
            this.lcLastName.Location = new Point(0x20f, 0);
            this.lcLastName.Name = "lcLastName";
            this.lcLastName.Size = new Size(130, 0x18);
            this.lcLastName.Text = "T\x00ean <color=red>(*)</color>:";
            this.lcLastName.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcLastName.TextSize = new Size(0x27, 14);
            this.lcLastName.TextToControlDistance = 5;
            this.lcFirstName.AllowHtmlStringInCaption = true;
            this.lcFirstName.Control = this.txtFirstName;
            this.lcFirstName.CustomizationFormText = "layoutControlItem3";
            this.lcFirstName.Location = new Point(0x146, 0);
            this.lcFirstName.MinSize = new Size(0x97, 0x18);
            this.lcFirstName.Name = "lcFirstName";
            this.lcFirstName.Size = new Size(0xc9, 0x18);
            this.lcFirstName.SizeConstraintsType = SizeConstraintsType.Custom;
            this.lcFirstName.Text = "Họ l\x00f3t <color=red>(*)</color>:";
            this.lcFirstName.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcFirstName.TextSize = new Size(0x31, 14);
            this.lcFirstName.TextToControlDistance = 5;
            this.lcAlias.Control = this.txtAlias;
            this.lcAlias.CustomizationFormText = "T\x00ean thường gọi:";
            this.lcAlias.Location = new Point(0x73, 0x30);
            this.lcAlias.Name = "lcAlias";
            this.lcAlias.Size = new Size(0xd4, 0x18);
            this.lcAlias.Text = "T\x00ean thường gọi:";
            this.lcAlias.TextSize = new Size(0x55, 13);
            this.lcMarriage.Control = this.cboMariage;
            this.lcMarriage.CustomizationFormText = "T\x00ecnh trạng h\x00f4n nh\x00e2n:";
            this.lcMarriage.Location = new Point(0x147, 0x30);
            this.lcMarriage.Name = "lcMarriage";
            this.lcMarriage.Size = new Size(0x17e, 0x18);
            this.lcMarriage.Text = "T\x00ecnh trạng h\x00f4n nh\x00e2n: ";
            this.lcMarriage.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcMarriage.TextSize = new Size(0x68, 13);
            this.lcMarriage.TextToControlDistance = 5;
            this.lcCellPhone.Control = this.txtCellPhone;
            this.lcCellPhone.CustomizationFormText = "Số di động:";
            this.lcCellPhone.Location = new Point(0, 120);
            this.lcCellPhone.Name = "lcCellPhone";
            this.lcCellPhone.Size = new Size(250, 0x18);
            this.lcCellPhone.Text = "Số di động:";
            this.lcCellPhone.TextSize = new Size(0x55, 13);
            this.lcHomePhone.Control = this.txtHomePhone;
            this.lcHomePhone.CustomizationFormText = "Điện thoại nh\x00e0:";
            this.lcHomePhone.Location = new Point(250, 120);
            this.lcHomePhone.Name = "lcHomePhone";
            this.lcHomePhone.Size = new Size(180, 0x18);
            this.lcHomePhone.Text = "Điện thoại nh\x00e0:";
            this.lcHomePhone.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcHomePhone.TextSize = new Size(0x4a, 13);
            this.lcHomePhone.TextToControlDistance = 5;
            this.lcEmail.Control = this.txtEmail;
            this.lcEmail.CustomizationFormText = "Email:";
            this.lcEmail.Location = new Point(430, 120);
            this.lcEmail.Name = "lcEmail";
            this.lcEmail.Size = new Size(0x117, 0x18);
            this.lcEmail.Text = "Email:";
            this.lcEmail.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcEmail.TextSize = new Size(0x1c, 13);
            this.lcEmail.TextToControlDistance = 5;
            this.lcEthnic.Control = this.cboEthnic;
            this.lcEthnic.CustomizationFormText = "layoutControlItem8";
            this.lcEthnic.Location = new Point(0x164, 0x90);
            this.lcEthnic.Name = "lcEthnic";
            this.lcEthnic.Size = new Size(0x161, 0x1a);
            this.lcEthnic.Text = "D\x00e2n tộc:";
            this.lcEthnic.TextSize = new Size(0x55, 13);
            this.lcReligion.Control = this.cboReligion;
            this.lcReligion.CustomizationFormText = "layoutControlItem9";
            this.lcReligion.Location = new Point(0, 170);
            this.lcReligion.Name = "lcReligion";
            this.lcReligion.Size = new Size(0x164, 0x1a);
            this.lcReligion.Text = "T\x00f4n gi\x00e1o:";
            this.lcReligion.TextSize = new Size(0x55, 13);
            this.lcEducation.Control = this.cboEducation;
            this.lcEducation.CustomizationFormText = "Học vấn:";
            this.lcEducation.Location = new Point(0x164, 170);
            this.lcEducation.Name = "lcEducation";
            this.lcEducation.Size = new Size(0x161, 0x1a);
            this.lcEducation.Text = "Học vấn:";
            this.lcEducation.TextSize = new Size(0x55, 13);
            this.lcLanguage.Control = this.cboLanguage;
            this.lcLanguage.CustomizationFormText = "Ngoại ngữ:";
            this.lcLanguage.Location = new Point(0, 0xc4);
            this.lcLanguage.Name = "lcLanguage";
            this.lcLanguage.Size = new Size(0x164, 0x1a);
            this.lcLanguage.Text = "Ngoại ngữ:";
            this.lcLanguage.TextSize = new Size(0x55, 13);
            this.lcInformatic.Control = this.cboInformatic;
            this.lcInformatic.CustomizationFormText = "Tin học:";
            this.lcInformatic.Location = new Point(0x164, 0xc4);
            this.lcInformatic.Name = "lcInformatic";
            this.lcInformatic.Size = new Size(0x161, 0x1a);
            this.lcInformatic.Text = "Tin học:";
            this.lcInformatic.TextSize = new Size(0x55, 13);
            this.layoutControlItem30.Control = this.grIDCard;
            this.layoutControlItem30.CustomizationFormText = "layoutControlItem30";
            this.layoutControlItem30.Location = new Point(0, 310);
            this.layoutControlItem30.Name = "layoutControlItem30";
            this.layoutControlItem30.Size = new Size(0x164, 0x59);
            this.layoutControlItem30.Text = "layoutControlItem30";
            this.layoutControlItem30.TextSize = new Size(0, 0);
            this.layoutControlItem30.TextToControlDistance = 0;
            this.layoutControlItem30.TextVisible = false;
            this.layoutControlItem34.Control = this.grHealth;
            this.layoutControlItem34.CustomizationFormText = "layoutControlItem34";
            this.layoutControlItem34.Location = new Point(0x164, 310);
            this.layoutControlItem34.Name = "layoutControlItem34";
            this.layoutControlItem34.Size = new Size(0x161, 0x59);
            this.layoutControlItem34.Text = "layoutControlItem34";
            this.layoutControlItem34.TextSize = new Size(0, 0);
            this.layoutControlItem34.TextToControlDistance = 0;
            this.layoutControlItem34.TextVisible = false;
            this.lcProfessional.Control = this.cboProfessional;
            this.lcProfessional.CustomizationFormText = "Chuy\x00ean m\x00f4n l\x00e0m việc:";
            this.lcProfessional.Location = new Point(0, 0xde);
            this.lcProfessional.Name = "lcProfessional";
            this.lcProfessional.Size = new Size(0x164, 0x1a);
            this.lcProfessional.Text = "Chuy\x00ean m\x00f4n:";
            this.lcProfessional.TextSize = new Size(0x55, 13);
            this.lcDegree.Control = this.chcDegree;
            this.lcDegree.CustomizationFormText = "C\x00e1c bằng cấp:";
            this.lcDegree.Location = new Point(0x164, 0xde);
            this.lcDegree.Name = "lcDegree";
            this.lcDegree.Size = new Size(0x161, 0x1a);
            this.lcDegree.Text = "C\x00e1c bằng cấp:";
            this.lcDegree.TextSize = new Size(0x55, 13);
            this.lcSchool.Control = this.cboSchool;
            this.lcSchool.CustomizationFormText = "Nơi đ\x00e0o tạo:";
            this.lcSchool.Location = new Point(0, 0xf8);
            this.lcSchool.Name = "lcSchool";
            this.lcSchool.Size = new Size(0x2c5, 0x1a);
            this.lcSchool.Text = "Nơi đ\x00e0o tạo:";
            this.lcSchool.TextSize = new Size(0x55, 13);
            this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2";
            this.emptySpaceItem2.Location = new Point(0, 0x12a);
            this.emptySpaceItem2.Name = "emptySpaceItem2";
            this.emptySpaceItem2.Size = new Size(0x2c5, 12);
            this.emptySpaceItem2.Text = "emptySpaceItem2";
            this.emptySpaceItem2.TextSize = new Size(0, 0);
            this.lcEnrollNumber.Control = this.txtEnrollNumber;
            this.lcEnrollNumber.CustomizationFormText = "M\x00e3 chấm c\x00f4ng:";
            this.lcEnrollNumber.Location = new Point(0, 0x18f);
            this.lcEnrollNumber.Name = "lcEnrollNumber";
            this.lcEnrollNumber.Size = new Size(0x111, 0x18);
            this.lcEnrollNumber.Text = "M\x00e3 chấm c\x00f4ng:";
            this.lcEnrollNumber.TextSize = new Size(0x55, 13);
            this.layoutControlItem12.Control = this.txtIncomeTaxCode;
            this.layoutControlItem12.CustomizationFormText = "M\x00e3 số thuế:";
            this.layoutControlItem12.Location = new Point(0, 0x112);
            this.layoutControlItem12.Name = "layoutControlItem12";
            this.layoutControlItem12.Size = new Size(0x162, 0x18);
            this.layoutControlItem12.Text = "M\x00e3 số thuế:";
            this.layoutControlItem12.TextSize = new Size(0x55, 13);
            this.layoutControlItem9.Control = this.cboResidenceType;
            this.layoutControlItem9.CustomizationFormText = "C\x00e1 nh\x00e2n cư tr\x00fa:";
            this.layoutControlItem9.Location = new Point(0x162, 0x112);
            this.layoutControlItem9.Name = "layoutControlItem9";
            this.layoutControlItem9.Size = new Size(0x163, 0x18);
            this.layoutControlItem9.Text = "C\x00e1 nh\x00e2n cư tr\x00fa:";
            this.layoutControlItem9.TextSize = new Size(0x55, 13);
            this.lcDescription.Control = this.txtDescription;
            this.lcDescription.CustomizationFormText = "Ghi ch\x00fa:";
            this.lcDescription.Location = new Point(0, 0x1a7);
            this.lcDescription.Name = "lcDescription";
            this.lcDescription.Size = new Size(0x2c5, 0x18);
            this.lcDescription.Text = "Th\x00eam ghi ch\x00fa:";
            this.lcDescription.TextSize = new Size(0x55, 13);
            this.lcBirthday.AllowHtmlStringInCaption = true;
            this.lcBirthday.Control = this.xdeBirthday;
            this.lcBirthday.CustomizationFormText = "Ng\x00e0y sinh <color=red>(*)</color>:";
            this.lcBirthday.Location = new Point(0x73, 0x18);
            this.lcBirthday.Name = "lcBirthday";
            this.lcBirthday.Size = new Size(0x113, 0x18);
            this.lcBirthday.Text = "Ng\x00e0y sinh <color=red>(*)</color>:";
            this.lcBirthday.TextSize = new Size(0x55, 14);
            this.lcReasonLeave.Control = this.cboReasonLeave;
            this.lcReasonLeave.CustomizationFormText = "L\x00fd do nghỉ việc:";
            this.lcReasonLeave.Location = new Point(0x111, 0x18f);
            this.lcReasonLeave.Name = "lcReasonLeave";
            this.lcReasonLeave.Size = new Size(0x1b4, 0x18);
            this.lcReasonLeave.Text = "L\x00fd do nghỉ việc:";
            this.lcReasonLeave.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcReasonLeave.TextSize = new Size(0x4b, 13);
            this.lcReasonLeave.TextToControlDistance = 5;
            this.lcReasonLeave.Visibility = LayoutVisibility.Never;
            this.tabWorkInformation.Controls.Add(this.layoutControl16);
            this.tabWorkInformation.Controls.Add(this.labelControl1);
            this.tabWorkInformation.Controls.Add(this.cheUnionMoney);
            this.tabWorkInformation.Controls.Add(this.cheUnemploymentInsurance);
            this.tabWorkInformation.Controls.Add(this.cheHealthInsurance);
            this.tabWorkInformation.Controls.Add(this.cheSocialInsurance);
            this.tabWorkInformation.Controls.Add(this.grWorkInformation);
            this.tabWorkInformation.Controls.Add(this.grMain);
            this.tabWorkInformation.Controls.Add(this.grTest);
            this.tabWorkInformation.Name = "tabWorkInformation";
            this.tabWorkInformation.Size = new Size(0x2c5, 0x1bf);
            this.tabWorkInformation.Text = "Th\x00f4ng Tin C\x00f4ng Việc";
            this.tabWorkInformation.Paint += new PaintEventHandler(this.xtraTabPage2_Paint);
            this.layoutControl16.Controls.Add(this.layoutControl17);
            this.layoutControl16.Controls.Add(this.layoutControl14);
            this.layoutControl16.Controls.Add(this.layoutControl8);
            this.layoutControl16.Location = new Point(0x1b1, 2);
            this.layoutControl16.Name = "layoutControl16";
            this.layoutControl16.Root = this.layoutControlGroup16;
            this.layoutControl16.Size = new Size(0x10f, 0x148);
            this.layoutControl16.TabIndex = 1;
            this.layoutControl16.Text = "layoutControl16";
            this.layoutControl17.Controls.Add(this.dtContractToDate);
            this.layoutControl17.Controls.Add(this.dtContractFromDate);
            this.layoutControl17.Controls.Add(this.dtContractSignDate);
            this.layoutControl17.Controls.Add(this.cboContractType);
            this.layoutControl17.Controls.Add(this.cboContractCode);
            this.layoutControl17.Location = new Point(5, 0xa5);
            this.layoutControl17.Name = "layoutControl17";
            this.layoutControl17.OptionsView.AllowHotTrack = true;
            this.layoutControl17.OptionsView.HighlightDisabledItem = true;
            this.layoutControl17.OptionsView.HighlightFocusedItem = true;
            this.layoutControl17.Root = this.layoutControlGroup17;
            this.layoutControl17.Size = new Size(0x105, 0x9e);
            this.layoutControl17.TabIndex = 1;
            this.layoutControl17.Text = "layoutControl17";
            this.dtContractToDate.EditValue = null;
            this.dtContractToDate.Location = new Point(0x4f, 0x66);
            this.dtContractToDate.Name = "dtContractToDate";
            this.dtContractToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtContractToDate.Properties.ReadOnly = true;
            this.dtContractToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtContractToDate.Size = new Size(0xb2, 20);
            this.dtContractToDate.StyleController = this.layoutControl17;
            this.dtContractToDate.TabIndex = 4;
            this.dtContractFromDate.EditValue = null;
            this.dtContractFromDate.Location = new Point(0x4f, 0x4e);
            this.dtContractFromDate.Name = "dtContractFromDate";
            this.dtContractFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtContractFromDate.Properties.ReadOnly = true;
            this.dtContractFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtContractFromDate.Size = new Size(0xb2, 20);
            this.dtContractFromDate.StyleController = this.layoutControl17;
            this.dtContractFromDate.TabIndex = 3;
            this.dtContractSignDate.EditValue = null;
            this.dtContractSignDate.Location = new Point(0x4f, 0x36);
            this.dtContractSignDate.Name = "dtContractSignDate";
            this.dtContractSignDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtContractSignDate.Properties.ReadOnly = true;
            this.dtContractSignDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtContractSignDate.Size = new Size(0xb2, 20);
            this.dtContractSignDate.StyleController = this.layoutControl17;
            this.dtContractSignDate.TabIndex = 2;
            this.cboContractType.Location = new Point(0x4f, 30);
            this.cboContractType.Name = "cboContractType";
            this.cboContractType.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboContractType.Properties.Items.AddRange(new object[] { "Hợp đồng x\x00e1c định thời hạn", "Hợp đồng kh\x00f4ng x\x00e1c định thời hạn", "Hợp đồng thử việc", "Hợp đồng học việc" });
            this.cboContractType.Properties.ReadOnly = true;
            this.cboContractType.Size = new Size(0xb2, 20);
            this.cboContractType.StyleController = this.layoutControl17;
            this.cboContractType.TabIndex = 1;
            this.cboContractCode.Location = new Point(0x4f, 4);
            this.cboContractCode.Name = "cboContractCode";
            this.cboContractCode.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Print", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboContractCode.Properties.Buttons"), new KeyShortcut(Keys.None), obj11, "", null, null, true), new EditorButton(ButtonPredefines.Glyph, "Add", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboContractCode.Properties.Buttons1"), new KeyShortcut(Keys.None), obj12, "", null, null, true), new EditorButton(ButtonPredefines.Glyph, "Edit", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboContractCode.Properties.Buttons2"), new KeyShortcut(Keys.None), obj13, "", null, null, true) });
            this.cboContractCode.Size = new Size(0xb2, 0x16);
            this.cboContractCode.StyleController = this.layoutControl17;
            this.cboContractCode.TabIndex = 0;
            this.cboContractCode.ButtonClick += new ButtonPressedEventHandler(this.cboContractCode_ButtonClick);
            this.cboContractCode.SelectedIndexChanged += new EventHandler(this.cboContractCode_SelectedIndexChanged);
            this.layoutControlGroup17.CustomizationFormText = "layoutControlGroup17";
            this.layoutControlGroup17.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup17.GroupBordersVisible = false;
            this.layoutControlGroup17.Items.AddRange(new BaseLayoutItem[] { this.lcContractCode, this.lcContractType, this.lcContractSignDate, this.lcContractFromDate, this.lcContractToDate });
            this.layoutControlGroup17.Location = new Point(0, 0);
            this.layoutControlGroup17.Name = "layoutControlGroup17";
            this.layoutControlGroup17.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
            this.layoutControlGroup17.Size = new Size(0x105, 0x9e);
            this.layoutControlGroup17.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup17.Text = "layoutControlGroup17";
            this.layoutControlGroup17.TextVisible = false;
            this.lcContractCode.Control = this.cboContractCode;
            this.lcContractCode.CustomizationFormText = "M\x00e3:";
            this.lcContractCode.Location = new Point(0, 0);
            this.lcContractCode.Name = "lcContractCode";
            this.lcContractCode.Size = new Size(0x101, 0x1a);
            this.lcContractCode.Text = "M\x00e3 hợp đồng:";
            this.lcContractCode.TextSize = new Size(0x47, 13);
            this.lcContractType.Control = this.cboContractType;
            this.lcContractType.CustomizationFormText = "Loại:";
            this.lcContractType.Location = new Point(0, 0x1a);
            this.lcContractType.Name = "lcContractType";
            this.lcContractType.Size = new Size(0x101, 0x18);
            this.lcContractType.Text = "Loại hợp đồng:";
            this.lcContractType.TextSize = new Size(0x47, 13);
            this.lcContractSignDate.Control = this.dtContractSignDate;
            this.lcContractSignDate.CustomizationFormText = "Ng\x00e0y k\x00fd:";
            this.lcContractSignDate.Location = new Point(0, 50);
            this.lcContractSignDate.Name = "lcContractSignDate";
            this.lcContractSignDate.Size = new Size(0x101, 0x18);
            this.lcContractSignDate.Text = "Ng\x00e0y k\x00fd:";
            this.lcContractSignDate.TextSize = new Size(0x47, 13);
            this.lcContractFromDate.Control = this.dtContractFromDate;
            this.lcContractFromDate.CustomizationFormText = "Ng\x00e0y BĐ:";
            this.lcContractFromDate.Location = new Point(0, 0x4a);
            this.lcContractFromDate.Name = "lcContractFromDate";
            this.lcContractFromDate.Size = new Size(0x101, 0x18);
            this.lcContractFromDate.Text = "Ng\x00e0y bắt đầu:";
            this.lcContractFromDate.TextSize = new Size(0x47, 13);
            this.lcContractToDate.Control = this.dtContractToDate;
            this.lcContractToDate.CustomizationFormText = "Ng\x00e0y KT:";
            this.lcContractToDate.Location = new Point(0, 0x62);
            this.lcContractToDate.Name = "lcContractToDate";
            this.lcContractToDate.Size = new Size(0x101, 0x38);
            this.lcContractToDate.Text = "Ng\x00e0y kết th\x00fac:";
            this.lcContractToDate.TextSize = new Size(0x47, 13);
            this.layoutControl14.Controls.Add(this.dtHealthInsuranceToDate);
            this.layoutControl14.Controls.Add(this.dtHealthInsuranceFromDate);
            this.layoutControl14.Controls.Add(this.txtHealthInsuranceCode);
            this.layoutControl14.Controls.Add(this.cboProvince);
            this.layoutControl14.Controls.Add(this.cboHospital);
            this.layoutControl14.Location = new Point(0, 0x6f);
            this.layoutControl14.Name = "layoutControl14";
            this.layoutControl14.OptionsView.AllowHotTrack = true;
            this.layoutControl14.OptionsView.HighlightDisabledItem = true;
            this.layoutControl14.OptionsView.HighlightFocusedItem = true;
            this.layoutControl14.Root = this.layoutControlGroup14;
            this.layoutControl14.Size = new Size(0xf3, 0x6b);
            this.layoutControl14.TabIndex = 0;
            this.layoutControl14.Text = "layoutControl14";
            this.dtHealthInsuranceToDate.EditValue = null;
            this.dtHealthInsuranceToDate.Location = new Point(0x3d, 0x36);
            this.dtHealthInsuranceToDate.Name = "dtHealthInsuranceToDate";
            this.dtHealthInsuranceToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtHealthInsuranceToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtHealthInsuranceToDate.Size = new Size(0xb0, 20);
            this.dtHealthInsuranceToDate.StyleController = this.layoutControl14;
            this.dtHealthInsuranceToDate.TabIndex = 8;
            this.dtHealthInsuranceFromDate.EditValue = null;
            this.dtHealthInsuranceFromDate.Location = new Point(0x3d, 30);
            this.dtHealthInsuranceFromDate.Name = "dtHealthInsuranceFromDate";
            this.dtHealthInsuranceFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtHealthInsuranceFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtHealthInsuranceFromDate.Size = new Size(0xb0, 20);
            this.dtHealthInsuranceFromDate.StyleController = this.layoutControl14;
            this.dtHealthInsuranceFromDate.TabIndex = 6;
            this.txtHealthInsuranceCode.Location = new Point(0x3d, 6);
            this.txtHealthInsuranceCode.Name = "txtHealthInsuranceCode";
            this.txtHealthInsuranceCode.Size = new Size(0xb0, 20);
            this.txtHealthInsuranceCode.StyleController = this.layoutControl14;
            this.txtHealthInsuranceCode.TabIndex = 4;
            this.cboProvince.Location = new Point(0x3d, 0x4e);
            this.cboProvince.Name = "cboProvince";
            this.cboProvince.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboProvince.Properties.Buttons"), new KeyShortcut(Keys.None), obj14, "", null, null, true) });
            this.cboProvince.Size = new Size(0xb0, 0x16);
            this.cboProvince.StyleController = this.layoutControl14;
            this.cboProvince.TabIndex = 5;
            this.cboProvince.TabStop = false;
            this.cboProvince.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboHospital.Location = new Point(0x3d, 0x68);
            this.cboHospital.Name = "cboHospital";
            this.cboHospital.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboHospital.Properties.Buttons"), new KeyShortcut(Keys.None), obj15, "", null, null, true) });
            this.cboHospital.Size = new Size(0xb0, 0x16);
            this.cboHospital.StyleController = this.layoutControl14;
            this.cboHospital.TabIndex = 7;
            this.cboHospital.TabStop = false;
            this.cboHospital.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.layoutControlGroup14.CustomizationFormText = "layoutControlGroup14";
            this.layoutControlGroup14.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup14.GroupBordersVisible = false;
            this.layoutControlGroup14.Items.AddRange(new BaseLayoutItem[] { this.lcHealthInsuranceCode, this.lcProvince, this.lcHealthInsuranceFromDate, this.lcHospital, this.lcHealthInsuranceToDate });
            this.layoutControlGroup14.Location = new Point(0, 0);
            this.layoutControlGroup14.Name = "layoutControlGroup14";
            this.layoutControlGroup14.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup14.Size = new Size(0xf3, 0x84);
            this.layoutControlGroup14.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup14.Text = "layoutControlGroup14";
            this.layoutControlGroup14.TextVisible = false;
            this.lcHealthInsuranceCode.Control = this.txtHealthInsuranceCode;
            this.lcHealthInsuranceCode.CustomizationFormText = "Số Sổ:";
            this.lcHealthInsuranceCode.Location = new Point(0, 0);
            this.lcHealthInsuranceCode.Name = "lcHealthInsuranceCode";
            this.lcHealthInsuranceCode.Size = new Size(0xeb, 0x18);
            this.lcHealthInsuranceCode.Text = "Số Sổ:";
            this.lcHealthInsuranceCode.TextSize = new Size(0x33, 13);
            this.lcProvince.Control = this.cboProvince;
            this.lcProvince.CustomizationFormText = "Tỉnh:";
            this.lcProvince.Location = new Point(0, 0x48);
            this.lcProvince.Name = "lcProvince";
            this.lcProvince.Size = new Size(0xeb, 0x1a);
            this.lcProvince.Text = "Tỉnh:";
            this.lcProvince.TextSize = new Size(0x33, 13);
            this.lcHealthInsuranceFromDate.Control = this.dtHealthInsuranceFromDate;
            this.lcHealthInsuranceFromDate.CustomizationFormText = "Ng\x00e0y Cấp:";
            this.lcHealthInsuranceFromDate.Location = new Point(0, 0x18);
            this.lcHealthInsuranceFromDate.Name = "lcHealthInsuranceFromDate";
            this.lcHealthInsuranceFromDate.Size = new Size(0xeb, 0x18);
            this.lcHealthInsuranceFromDate.Text = "Từ ng\x00e0y:";
            this.lcHealthInsuranceFromDate.TextSize = new Size(0x33, 13);
            this.lcHospital.Control = this.cboHospital;
            this.lcHospital.CustomizationFormText = "Bệnh Viện:";
            this.lcHospital.Location = new Point(0, 0x62);
            this.lcHospital.Name = "lcHospital";
            this.lcHospital.Size = new Size(0xeb, 0x1a);
            this.lcHospital.Text = "Bệnh viện:";
            this.lcHospital.TextSize = new Size(0x33, 13);
            this.lcHealthInsuranceToDate.Control = this.dtHealthInsuranceToDate;
            this.lcHealthInsuranceToDate.CustomizationFormText = "Đến ng\x00e0y:";
            this.lcHealthInsuranceToDate.Location = new Point(0, 0x30);
            this.lcHealthInsuranceToDate.Name = "lcHealthInsuranceToDate";
            this.lcHealthInsuranceToDate.Size = new Size(0xeb, 0x18);
            this.lcHealthInsuranceToDate.Text = "Đến ng\x00e0y:";
            this.lcHealthInsuranceToDate.TextSize = new Size(0x33, 13);
            this.layoutControl8.Controls.Add(this.txtInsurancePlace);
            this.layoutControl8.Controls.Add(this.dtInsuranceDate);
            this.layoutControl8.Controls.Add(this.txtInsuranceCode);
            this.layoutControl8.Location = new Point(3, 0x17);
            this.layoutControl8.Name = "layoutControl8";
            this.layoutControl8.OptionsView.AllowHotTrack = true;
            this.layoutControl8.OptionsView.HighlightDisabledItem = true;
            this.layoutControl8.OptionsView.HighlightFocusedItem = true;
            this.layoutControl8.Root = this.layoutControlGroup8;
            this.layoutControl8.Size = new Size(0x109, 0x55);
            this.layoutControl8.TabIndex = 0;
            this.layoutControl8.Text = "layoutControl8";
            this.txtInsurancePlace.Location = new Point(0x3b, 0x36);
            this.txtInsurancePlace.Name = "txtInsurancePlace";
            this.txtInsurancePlace.Size = new Size(200, 20);
            this.txtInsurancePlace.StyleController = this.layoutControl8;
            this.txtInsurancePlace.TabIndex = 2;
            this.dtInsuranceDate.EditValue = null;
            this.dtInsuranceDate.Location = new Point(0x3b, 30);
            this.dtInsuranceDate.Name = "dtInsuranceDate";
            this.dtInsuranceDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtInsuranceDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtInsuranceDate.Size = new Size(200, 20);
            this.dtInsuranceDate.StyleController = this.layoutControl8;
            this.dtInsuranceDate.TabIndex = 1;
            this.txtInsuranceCode.Location = new Point(0x3b, 6);
            this.txtInsuranceCode.Name = "txtInsuranceCode";
            this.txtInsuranceCode.Size = new Size(200, 20);
            this.txtInsuranceCode.StyleController = this.layoutControl8;
            this.txtInsuranceCode.TabIndex = 0;
            this.layoutControlGroup8.CustomizationFormText = "layoutControlGroup7";
            this.layoutControlGroup8.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup8.GroupBordersVisible = false;
            this.layoutControlGroup8.Items.AddRange(new BaseLayoutItem[] { this.lcSocialInsuranceCode, this.lcSocialInsuranceDate, this.lcSocialInsurancePlace });
            this.layoutControlGroup8.Location = new Point(0, 0);
            this.layoutControlGroup8.Name = "layoutControlGroup7";
            this.layoutControlGroup8.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup8.Size = new Size(0x109, 0x55);
            this.layoutControlGroup8.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup8.Text = "layoutControlGroup7";
            this.layoutControlGroup8.TextVisible = false;
            this.lcSocialInsuranceCode.Control = this.txtInsuranceCode;
            this.lcSocialInsuranceCode.CustomizationFormText = "Số sổ:";
            this.lcSocialInsuranceCode.Location = new Point(0, 0);
            this.lcSocialInsuranceCode.Name = "lcSocialInsuranceCode";
            this.lcSocialInsuranceCode.Size = new Size(0x101, 0x18);
            this.lcSocialInsuranceCode.Text = "Số sổ:";
            this.lcSocialInsuranceCode.TextSize = new Size(0x31, 13);
            this.lcSocialInsuranceDate.Control = this.dtInsuranceDate;
            this.lcSocialInsuranceDate.CustomizationFormText = "Ng\x00e0y cấp:";
            this.lcSocialInsuranceDate.Location = new Point(0, 0x18);
            this.lcSocialInsuranceDate.Name = "lcSocialInsuranceDate";
            this.lcSocialInsuranceDate.Size = new Size(0x101, 0x18);
            this.lcSocialInsuranceDate.Text = "Ng\x00e0y cấp:";
            this.lcSocialInsuranceDate.TextSize = new Size(0x31, 13);
            this.lcSocialInsurancePlace.Control = this.txtInsurancePlace;
            this.lcSocialInsurancePlace.CustomizationFormText = "Nơi cấp:";
            this.lcSocialInsurancePlace.Location = new Point(0, 0x30);
            this.lcSocialInsurancePlace.Name = "lcSocialInsurancePlace";
            this.lcSocialInsurancePlace.Size = new Size(0x101, 0x1d);
            this.lcSocialInsurancePlace.Text = "Nơi cấp:";
            this.lcSocialInsurancePlace.TextSize = new Size(0x31, 13);
            this.layoutControlGroup16.CustomizationFormText = "layoutControlGroup16";
            this.layoutControlGroup16.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup16.GroupBordersVisible = false;
            this.layoutControlGroup16.Items.AddRange(new BaseLayoutItem[] { this.lcgSocialInsurance, this.lcgHealthInsurance, this.lcgContract });
            this.layoutControlGroup16.Location = new Point(0, 0);
            this.layoutControlGroup16.Name = "layoutControlGroup16";
            this.layoutControlGroup16.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup16.Size = new Size(0x10f, 0x148);
            this.layoutControlGroup16.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup16.Text = "layoutControlGroup16";
            this.layoutControlGroup16.TextVisible = false;
            this.lcgSocialInsurance.CustomizationFormText = "Bảo Hiểm X\x00e3 Hội";
            this.lcgSocialInsurance.ExpandButtonVisible = true;
            this.lcgSocialInsurance.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem5 });
            this.lcgSocialInsurance.Location = new Point(0, 0);
            this.lcgSocialInsurance.Name = "lcgSocialInsurance";
            this.lcgSocialInsurance.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lcgSocialInsurance.Size = new Size(0x10f, 0x6f);
            this.lcgSocialInsurance.Text = "Bảo Hiểm X\x00e3 Hội";
            this.layoutControlItem5.Control = this.layoutControl8;
            this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
            this.layoutControlItem5.Location = new Point(0, 0);
            this.layoutControlItem5.Name = "layoutControlItem5";
            this.layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlItem5.Size = new Size(0x109, 0x55);
            this.layoutControlItem5.Text = "layoutControlItem5";
            this.layoutControlItem5.TextSize = new Size(0, 0);
            this.layoutControlItem5.TextToControlDistance = 0;
            this.layoutControlItem5.TextVisible = false;
            this.lcgHealthInsurance.CustomizationFormText = "Bảo Hiểm Y Tế";
            this.lcgHealthInsurance.ExpandButtonVisible = true;
            this.lcgHealthInsurance.Expanded = false;
            this.lcgHealthInsurance.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem6 });
            this.lcgHealthInsurance.Location = new Point(0, 0x6f);
            this.lcgHealthInsurance.Name = "lcgHealthInsurance";
            this.lcgHealthInsurance.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lcgHealthInsurance.Size = new Size(0x10f, 0x1d);
            this.lcgHealthInsurance.Text = "Bảo Hiểm Y Tế";
            this.layoutControlItem6.Control = this.layoutControl14;
            this.layoutControlItem6.CustomizationFormText = "layoutControlItem6";
            this.layoutControlItem6.Location = new Point(0, 0);
            this.layoutControlItem6.Name = "layoutControlItem6";
            this.layoutControlItem6.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlItem6.Size = new Size(0xf3, 0x6b);
            this.layoutControlItem6.Text = "layoutControlItem6";
            this.layoutControlItem6.TextSize = new Size(0, 0);
            this.layoutControlItem6.TextToControlDistance = 0;
            this.layoutControlItem6.TextVisible = false;
            this.lcgContract.CustomizationFormText = "Hợp Đồng Lao Động";
            this.lcgContract.ExpandButtonVisible = true;
            this.lcgContract.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem7 });
            this.lcgContract.Location = new Point(0, 140);
            this.lcgContract.Name = "lcgContract";
            this.lcgContract.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.lcgContract.Size = new Size(0x10f, 0xbc);
            this.lcgContract.Text = "Hợp Đồng Lao Động";
            this.layoutControlItem7.Control = this.layoutControl17;
            this.layoutControlItem7.CustomizationFormText = "layoutControlItem7";
            this.layoutControlItem7.Location = new Point(0, 0);
            this.layoutControlItem7.Name = "layoutControlItem7";
            this.layoutControlItem7.Size = new Size(0x109, 0xa2);
            this.layoutControlItem7.Text = "layoutControlItem7";
            this.layoutControlItem7.TextSize = new Size(0, 0);
            this.layoutControlItem7.TextToControlDistance = 0;
            this.layoutControlItem7.TextVisible = false;
            this.labelControl1.Location = new Point(8, 0x152);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new Size(0x9c, 13);
            this.labelControl1.TabIndex = 2;
            this.labelControl1.Text = "(*) C\x00e1c khoản đ\x00f3ng h\x00e0ng th\x00e1ng:";
            this.cheUnionMoney.Location = new Point(0x233, 0x150);
            this.cheUnionMoney.Name = "cheUnionMoney";
            this.cheUnionMoney.Properties.Caption = "Ph\x00ed c\x00f4ng đo\x00e0n";
            this.cheUnionMoney.Size = new Size(0x60, 0x13);
            this.cheUnionMoney.TabIndex = 6;
            this.cheUnemploymentInsurance.Location = new Point(0x196, 0x150);
            this.cheUnemploymentInsurance.Name = "cheUnemploymentInsurance";
            this.cheUnemploymentInsurance.Properties.Caption = "Bảo hiểm thất nghiệp";
            this.cheUnemploymentInsurance.Size = new Size(150, 0x13);
            this.cheUnemploymentInsurance.TabIndex = 5;
            this.cheHealthInsurance.Location = new Point(0x125, 0x150);
            this.cheHealthInsurance.Name = "cheHealthInsurance";
            this.cheHealthInsurance.Properties.Caption = "Bảo hiểm y tế";
            this.cheHealthInsurance.Size = new Size(0x69, 0x13);
            this.cheHealthInsurance.TabIndex = 4;
            this.cheSocialInsurance.Location = new Point(0xae, 0x150);
            this.cheSocialInsurance.Name = "cheSocialInsurance";
            this.cheSocialInsurance.Properties.Caption = "Bảo hiểm x\x00e3 hội";
            this.cheSocialInsurance.Size = new Size(0x74, 0x13);
            this.cheSocialInsurance.TabIndex = 3;
            this.grWorkInformation.Controls.Add(this.layoutControl6);
            this.grWorkInformation.Location = new Point(6, 4);
            this.grWorkInformation.Name = "grWorkInformation";
            this.grWorkInformation.Size = new Size(0x1a7, 0x144);
            this.grWorkInformation.TabIndex = 0;
            this.grWorkInformation.Text = "Th\x00f4ng Tin C\x00f4ng Việc";
            this.layoutControl6.Controls.Add(this.cheIsYourSelfTax);
            this.layoutControl6.Controls.Add(this.calSalaryPeriod1);
            this.layoutControl6.Controls.Add(this.calPercentSecondIncomeTax);
            this.layoutControl6.Controls.Add(this.cheIsSecondIncomeTax);
            this.layoutControl6.Controls.Add(this.calInsuranceSalary);
            this.layoutControl6.Controls.Add(this.calPayMoney);
            this.layoutControl6.Controls.Add(this.cboPayForm);
            this.layoutControl6.Controls.Add(this.calMinimumSalary);
            this.layoutControl6.Controls.Add(this.calBasicSalary);
            this.layoutControl6.Controls.Add(this.calCoefficient);
            this.layoutControl6.Controls.Add(this.glkBranch);
            this.layoutControl6.Controls.Add(this.dtDateSalary);
            this.layoutControl6.Controls.Add(this.glkDepartment);
            this.layoutControl6.Controls.Add(this.glkGroup);
            this.layoutControl6.Controls.Add(this.glkRankSalary);
            this.layoutControl6.Controls.Add(this.cboStepSalary);
            this.layoutControl6.Controls.Add(this.cboPosition);
            this.layoutControl6.Controls.Add(this.glkGroupRateCode);
            this.layoutControl6.Dock = DockStyle.Fill;
            this.layoutControl6.Location = new Point(2, 0x16);
            this.layoutControl6.Name = "layoutControl6";
            this.layoutControl6.OptionsView.AllowHotTrack = true;
            this.layoutControl6.OptionsView.HighlightDisabledItem = true;
            this.layoutControl6.OptionsView.HighlightFocusedItem = true;
            this.layoutControl6.Root = this.layoutControlGroup6;
            this.layoutControl6.Size = new Size(0x1a3, 300);
            this.layoutControl6.TabIndex = 0;
            this.layoutControl6.Text = "layoutControl6";
            this.cheIsYourSelfTax.EditValue = true;
            this.cheIsYourSelfTax.Location = new Point(7, 0xf2);
            this.cheIsYourSelfTax.Name = "cheIsYourSelfTax";
            this.cheIsYourSelfTax.Properties.Caption = "Giảm trừ bản th\x00e2n khi t\x00ednh thuế TNCN";
            this.cheIsYourSelfTax.Size = new Size(0x184, 0x13);
            this.cheIsYourSelfTax.StyleController = this.layoutControl6;
            this.cheIsYourSelfTax.TabIndex = 14;
            int[] bits = new int[4];
            this.calSalaryPeriod1.EditValue = new decimal(bits);
            this.calSalaryPeriod1.Location = new Point(0x138, 0xda);
            this.calSalaryPeriod1.Name = "calSalaryPeriod1";
            this.calSalaryPeriod1.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calSalaryPeriod1.Properties.Appearance.Options.UseFont = true;
            this.calSalaryPeriod1.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calSalaryPeriod1.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calSalaryPeriod1.Size = new Size(0x53, 20);
            this.calSalaryPeriod1.StyleController = this.layoutControl6;
            this.calSalaryPeriod1.TabIndex = 13;
            bits = new int[4];
            this.calPercentSecondIncomeTax.EditValue = new decimal(bits);
            this.calPercentSecondIncomeTax.Enabled = false;
            this.calPercentSecondIncomeTax.Location = new Point(0x151, 0x109);
            this.calPercentSecondIncomeTax.Name = "calPercentSecondIncomeTax";
            this.calPercentSecondIncomeTax.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calPercentSecondIncomeTax.Properties.DisplayFormat.FormatString = "{0}%";
            this.calPercentSecondIncomeTax.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.calPercentSecondIncomeTax.Properties.EditFormat.FormatString = "{0}%";
            this.calPercentSecondIncomeTax.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
            this.calPercentSecondIncomeTax.Size = new Size(0x3a, 20);
            this.calPercentSecondIncomeTax.StyleController = this.layoutControl6;
            this.calPercentSecondIncomeTax.TabIndex = 14;
            this.cheIsSecondIncomeTax.Location = new Point(7, 0x109);
            this.cheIsSecondIncomeTax.Name = "cheIsSecondIncomeTax";
            this.cheIsSecondIncomeTax.Properties.Caption = "L\x00e0 người nước ngo\x00e0i hoặc l\x00e0m ở nơi thứ 2";
            this.cheIsSecondIncomeTax.Size = new Size(220, 0x13);
            this.cheIsSecondIncomeTax.StyleController = this.layoutControl6;
            this.cheIsSecondIncomeTax.TabIndex = 13;
            this.cheIsSecondIncomeTax.CheckedChanged += new EventHandler(this.cheIsSecondIncomeTax_CheckedChanged);
            bits = new int[4];
            this.calInsuranceSalary.EditValue = new decimal(bits);
            this.calInsuranceSalary.Location = new Point(0x7d, 0xda);
            this.calInsuranceSalary.Name = "calInsuranceSalary";
            this.calInsuranceSalary.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calInsuranceSalary.Properties.Appearance.Options.UseFont = true;
            this.calInsuranceSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calInsuranceSalary.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calInsuranceSalary.Size = new Size(0x5d, 20);
            this.calInsuranceSalary.StyleController = this.layoutControl6;
            this.calInsuranceSalary.TabIndex = 12;
            bits = new int[4];
            this.calPayMoney.EditValue = new decimal(bits);
            this.calPayMoney.Location = new Point(0x137, 120);
            this.calPayMoney.Name = "calPayMoney";
            this.calPayMoney.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calPayMoney.Properties.DisplayFormat.FormatString = "{0}";
            this.calPayMoney.Properties.EditFormat.FormatString = "{0}";
            this.calPayMoney.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calPayMoney.Size = new Size(0x54, 20);
            this.calPayMoney.StyleController = this.layoutControl6;
            this.calPayMoney.TabIndex = 5;
            this.calPayMoney.EditValueChanged += new EventHandler(this.calPayMoney_EditValueChanged);
            this.cboPayForm.Location = new Point(0x7d, 120);
            this.cboPayForm.Name = "cboPayForm";
            this.cboPayForm.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboPayForm.Properties.Items.AddRange(new object[] { "<Theo hệ số lương>", "<Theo mức lương>" });
            this.cboPayForm.Size = new Size(0x6a, 20);
            this.cboPayForm.StyleController = this.layoutControl6;
            this.cboPayForm.TabIndex = 4;
            this.cboPayForm.SelectedIndexChanged += new EventHandler(this.cboPayForm_SelectedIndexChanged);
            bits = new int[4];
            this.calMinimumSalary.EditValue = new decimal(bits);
            this.calMinimumSalary.Location = new Point(0x7d, 170);
            this.calMinimumSalary.Name = "calMinimumSalary";
            this.calMinimumSalary.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calMinimumSalary.Properties.Appearance.Options.UseFont = true;
            this.calMinimumSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calMinimumSalary.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calMinimumSalary.Properties.ReadOnly = true;
            this.calMinimumSalary.Size = new Size(0x6a, 20);
            this.calMinimumSalary.StyleController = this.layoutControl6;
            this.calMinimumSalary.TabIndex = 8;
            bits = new int[4];
            this.calBasicSalary.EditValue = new decimal(bits);
            this.calBasicSalary.Location = new Point(0x7d, 0xc2);
            this.calBasicSalary.Name = "calBasicSalary";
            this.calBasicSalary.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calBasicSalary.Properties.Appearance.Options.UseFont = true;
            this.calBasicSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calBasicSalary.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calBasicSalary.Properties.ReadOnly = true;
            this.calBasicSalary.Size = new Size(0x6a, 20);
            this.calBasicSalary.StyleController = this.layoutControl6;
            this.calBasicSalary.TabIndex = 10;
            bits = new int[4];
            this.calCoefficient.EditValue = new decimal(bits);
            this.calCoefficient.Location = new Point(0x137, 170);
            this.calCoefficient.Name = "calCoefficient";
            this.calCoefficient.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calCoefficient.Properties.Appearance.Options.UseFont = true;
            this.calCoefficient.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calCoefficient.Properties.ReadOnly = true;
            this.calCoefficient.Size = new Size(0x54, 20);
            this.calCoefficient.StyleController = this.layoutControl6;
            this.calCoefficient.TabIndex = 9;
            this.glkBranch.Location = new Point(0x7d, 6);
            this.glkBranch.Name = "glkBranch";
            this.glkBranch.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkBranch.Properties.Buttons"), new KeyShortcut(Keys.None), obj16, "", null, null, true) });
            this.glkBranch.Properties.NullText = "[Chọn chi nh\x00e1nh]";
            this.glkBranch.Properties.View = this.gridLookUpEdit1View;
            this.glkBranch.Size = new Size(270, 0x16);
            this.glkBranch.StyleController = this.layoutControl6;
            this.glkBranch.TabIndex = 0;
            this.glkBranch.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.glkBranch.EditValueChanged += new EventHandler(this.glkBranch_EditValueChanged);
            this.gridLookUpEdit1View.Columns.AddRange(new GridColumn[] { this.gridColumn5, this.gridColumn6 });
            this.gridLookUpEdit1View.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridLookUpEdit1View.Name = "gridLookUpEdit1View";
            this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            this.gridColumn5.Caption = "M\x00e3 chi nh\x00e1nh";
            this.gridColumn5.FieldName = "BranchCode";
            this.gridColumn5.Name = "gridColumn5";
            this.gridColumn5.Visible = true;
            this.gridColumn5.VisibleIndex = 0;
            this.gridColumn6.Caption = "T\x00ean chi nh\x00e1nh";
            this.gridColumn6.FieldName = "BranchName";
            this.gridColumn6.Name = "gridColumn6";
            this.gridColumn6.Visible = true;
            this.gridColumn6.VisibleIndex = 1;
            this.dtDateSalary.EditValue = null;
            this.dtDateSalary.Location = new Point(0x137, 0xc2);
            this.dtDateSalary.Name = "dtDateSalary";
            this.dtDateSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtDateSalary.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtDateSalary.Size = new Size(0x54, 20);
            this.dtDateSalary.StyleController = this.layoutControl6;
            this.dtDateSalary.TabIndex = 11;
            this.glkDepartment.Location = new Point(0x7d, 0x20);
            this.glkDepartment.Name = "glkDepartment";
            this.glkDepartment.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Delete", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkDepartment.Properties.Buttons"), new KeyShortcut(Keys.None), obj17, "", null, null, true), new EditorButton(ButtonPredefines.Glyph, "Add", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkDepartment.Properties.Buttons1"), new KeyShortcut(Keys.None), obj18, "", null, null, true) });
            this.glkDepartment.Properties.NullText = "[Chọn ph\x00f2ng ban thuộc chi nh\x00e1nh]";
            this.glkDepartment.Properties.View = this.gridView4;
            this.glkDepartment.Size = new Size(270, 0x16);
            this.glkDepartment.StyleController = this.layoutControl6;
            this.glkDepartment.TabIndex = 1;
            this.glkDepartment.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.glkDepartment.EditValueChanged += new EventHandler(this.glkDepartment_EditValueChanged);
            this.gridView4.Columns.AddRange(new GridColumn[] { this.gridColumn7, this.gridColumn8 });
            this.gridView4.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView4.Name = "gridView4";
            this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView4.OptionsView.ShowGroupPanel = false;
            this.gridColumn7.Caption = "M\x00e3 ph\x00f2ng ban";
            this.gridColumn7.FieldName = "DepartmentCode";
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 0;
            this.gridColumn8.Caption = "T\x00ean ph\x00f2ng ban";
            this.gridColumn8.FieldName = "DepartmentName";
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 1;
            this.glkGroup.Location = new Point(0x7d, 0x3a);
            this.glkGroup.Name = "glkGroup";
            this.glkGroup.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Delete", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkGroup.Properties.Buttons"), new KeyShortcut(Keys.None), obj19, "", null, null, true), new EditorButton(ButtonPredefines.Glyph, "Add", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkGroup.Properties.Buttons1"), new KeyShortcut(Keys.None), obj20, "", null, null, true) });
            this.glkGroup.Properties.NullText = "[Chọn tổ nh\x00f3m thuộc ph\x00f2ng ban]";
            this.glkGroup.Properties.View = this.gridView5;
            this.glkGroup.Size = new Size(270, 0x16);
            this.glkGroup.StyleController = this.layoutControl6;
            this.glkGroup.TabIndex = 2;
            this.glkGroup.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.gridView5.Columns.AddRange(new GridColumn[] { this.gridColumn9, this.gridColumn10 });
            this.gridView5.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView5.Name = "gridView5";
            this.gridView5.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView5.OptionsView.ShowGroupPanel = false;
            this.gridColumn9.Caption = "M\x00e3 tổ nh\x00f3m";
            this.gridColumn9.FieldName = "GroupCode";
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 0;
            this.gridColumn10.Caption = "T\x00ean tổ nh\x00f3m";
            this.gridColumn10.FieldName = "GroupName";
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 1;
            this.glkRankSalary.Location = new Point(0x7d, 0x90);
            this.glkRankSalary.Name = "glkRankSalary";
            this.glkRankSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkRankSalary.Properties.Buttons"), new KeyShortcut(Keys.None), obj21, "", null, null, true) });
            this.glkRankSalary.Properties.NullText = "[Chọn ngạch lương]";
            this.glkRankSalary.Properties.PopupSizeable = false;
            this.glkRankSalary.Properties.TextEditStyle = TextEditStyles.Standard;
            this.glkRankSalary.Properties.View = this.gridView7;
            this.glkRankSalary.Size = new Size(0x6a, 0x16);
            this.glkRankSalary.StyleController = this.layoutControl6;
            this.glkRankSalary.TabIndex = 6;
            this.glkRankSalary.TabStop = false;
            this.glkRankSalary.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.glkRankSalary.EditValueChanged += new EventHandler(this.glkRankSalary_EditValueChanged);
            this.gridView7.Columns.AddRange(new GridColumn[] { this.colRankCode, this.colRankName });
            this.gridView7.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView7.Name = "gridView7";
            this.gridView7.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView7.OptionsView.ShowGroupPanel = false;
            this.colRankCode.Caption = "M\x00e3 Ngạch";
            this.colRankCode.FieldName = "RankCode";
            this.colRankCode.Name = "colRankCode";
            this.colRankCode.Visible = true;
            this.colRankCode.VisibleIndex = 0;
            this.colRankName.Caption = "T\x00ean Ngạch";
            this.colRankName.FieldName = "RankName";
            this.colRankName.Name = "colRankName";
            this.colRankName.Visible = true;
            this.colRankName.VisibleIndex = 1;
            this.cboStepSalary.Location = new Point(0x137, 0x90);
            this.cboStepSalary.Name = "cboStepSalary";
            this.cboStepSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboStepSalary.Properties.Buttons"), new KeyShortcut(Keys.None), obj22, "", null, null, true) });
            this.cboStepSalary.Properties.NullText = "[Chọn bậc lương]";
            this.cboStepSalary.Size = new Size(0x54, 0x16);
            this.cboStepSalary.StyleController = this.layoutControl6;
            this.cboStepSalary.TabIndex = 7;
            this.cboStepSalary.TabStop = false;
            this.cboStepSalary.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.cboStepSalary.EditValueChanged += new EventHandler(this.cboStepSalary_EditValueChanged);
            this.cboPosition.Location = new Point(0x7d, 0x54);
            this.cboPosition.Name = "cboPosition";
            this.cboPosition.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("cboPosition.Properties.Buttons"), new KeyShortcut(Keys.None), obj23, "", null, null, true) });
            this.cboPosition.Properties.NullText = "[Chọn chức vụ cho nh\x00e2n vi\x00ean]";
            this.cboPosition.Properties.PopupSizeable = true;
            this.cboPosition.Properties.TextEditStyle = TextEditStyles.DisableTextEditor;
            this.cboPosition.Size = new Size(270, 0x16);
            this.cboPosition.StyleController = this.layoutControl6;
            this.cboPosition.TabIndex = 3;
            this.cboPosition.ButtonClick += new ButtonPressedEventHandler(this.cbo_ButtonClick);
            this.glkGroupRateCode.Location = new Point(0x7d, 0x12b);
            this.glkGroupRateCode.Name = "glkGroupRateCode";
            this.glkGroupRateCode.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkGroupRateCode.Properties.Buttons"), new KeyShortcut(Keys.None), obj24, "", null, null, true) });
            this.glkGroupRateCode.Properties.NullText = "[Chọn ti\x00eau ch\x00ed đ\x00e1nh gi\x00e1]";
            this.glkGroupRateCode.Properties.View = this.gridView1;
            this.glkGroupRateCode.Size = new Size(270, 0x16);
            this.glkGroupRateCode.StyleController = this.layoutControl6;
            this.glkGroupRateCode.TabIndex = 6;
            this.glkGroupRateCode.ButtonClick += new ButtonPressedEventHandler(this.glk_ButtonClick);
            this.gridView1.Columns.AddRange(new GridColumn[] { this.colGroupRateCode, this.colGroupRateName });
            this.gridView1.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.colGroupRateCode.Caption = "M\x00e3";
            this.colGroupRateCode.FieldName = "GroupRateCode";
            this.colGroupRateCode.Name = "colGroupRateCode";
            this.colGroupRateCode.Visible = true;
            this.colGroupRateCode.VisibleIndex = 0;
            this.colGroupRateName.Caption = "T\x00ean";
            this.colGroupRateName.FieldName = "GroupRateName";
            this.colGroupRateName.Name = "colGroupRateName";
            this.colGroupRateName.Visible = true;
            this.colGroupRateName.VisibleIndex = 1;
            this.layoutControlGroup6.CustomizationFormText = "layoutControlGroup6";
            this.layoutControlGroup6.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup6.GroupBordersVisible = false;
            this.layoutControlGroup6.Items.AddRange(new BaseLayoutItem[] { 
                this.lcDepartment, this.lcBranch, this.lcGroup, this.lcPosition, this.lcMinimumSalary, this.lcBasicSalary, this.lcCoefficientSalary, this.emptySpaceItem1, this.lcRankSalary, this.lcStepSalary, this.lcPayForm, this.lcPayMoney, this.lcDateSalary, this.layoutControlItem16, this.layoutControlItem17, this.layoutControlItem14, 
                this.layoutControlItem8, this.layoutControlItem18, this.emptySpaceItem3, this.layoutControlItem13
             });
            this.layoutControlGroup6.Location = new Point(0, 0);
            this.layoutControlGroup6.Name = "layoutControlGroup6";
            this.layoutControlGroup6.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 4, 4);
            this.layoutControlGroup6.Size = new Size(0x192, 0x147);
            this.layoutControlGroup6.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup6.Text = "layoutControlGroup6";
            this.layoutControlGroup6.TextVisible = false;
            this.lcDepartment.AllowHtmlStringInCaption = true;
            this.lcDepartment.Control = this.glkDepartment;
            this.lcDepartment.CustomizationFormText = "L\x00e0m tại ph\x00f2ng ban:";
            this.lcDepartment.Location = new Point(0, 0x1a);
            this.lcDepartment.Name = "lcDepartment";
            this.lcDepartment.Size = new Size(0x188, 0x1a);
            this.lcDepartment.Text = "L\x00e0m tại ph\x00f2ng ban:";
            this.lcDepartment.TextSize = new Size(0x72, 14);
            this.lcBranch.AllowHtmlStringInCaption = true;
            this.lcBranch.Control = this.glkBranch;
            this.lcBranch.CustomizationFormText = "L\x00e0m việc tại ph\x00f2ng ban (*):";
            this.lcBranch.Location = new Point(0, 0);
            this.lcBranch.Name = "lcBranch";
            this.lcBranch.Size = new Size(0x188, 0x1a);
            this.lcBranch.Text = "L\x00e0m tại chi nh\x00e1nh <color=red>(*)</color>:";
            this.lcBranch.TextSize = new Size(0x72, 14);
            this.lcGroup.Control = this.glkGroup;
            this.lcGroup.CustomizationFormText = "Chuy\x00ean m\x00f4n l\x00e0m việc:";
            this.lcGroup.Location = new Point(0, 0x34);
            this.lcGroup.Name = "lcGroup";
            this.lcGroup.Size = new Size(0x188, 0x1a);
            this.lcGroup.Text = "Tổ nh\x00f3m:";
            this.lcGroup.TextSize = new Size(0x72, 13);
            this.lcPosition.AllowHtmlStringInCaption = true;
            this.lcPosition.Control = this.cboPosition;
            this.lcPosition.CustomizationFormText = "Chức vụ hiện tại (*):";
            this.lcPosition.Location = new Point(0, 0x4e);
            this.lcPosition.Name = "lcPosition";
            this.lcPosition.Size = new Size(0x188, 0x1a);
            this.lcPosition.Text = "Chức vụ hiện tại <color=red>(*)</color>:";
            this.lcPosition.TextSize = new Size(0x72, 14);
            this.lcMinimumSalary.Control = this.calMinimumSalary;
            this.lcMinimumSalary.CustomizationFormText = "Lương tối thiểu:";
            this.lcMinimumSalary.Location = new Point(0, 0xa4);
            this.lcMinimumSalary.Name = "lcMinimumSalary";
            this.lcMinimumSalary.Size = new Size(0xe4, 0x18);
            this.lcMinimumSalary.Text = "Lương tối thiểu:";
            this.lcMinimumSalary.TextSize = new Size(0x72, 13);
            this.lcBasicSalary.Control = this.calBasicSalary;
            this.lcBasicSalary.CustomizationFormText = "Mức lương căn bản:";
            this.lcBasicSalary.Location = new Point(0, 0xbc);
            this.lcBasicSalary.Name = "lcBasicSalary";
            this.lcBasicSalary.Size = new Size(0xe4, 0x18);
            this.lcBasicSalary.Text = "Mức lương căn bản:";
            this.lcBasicSalary.TextSize = new Size(0x72, 13);
            this.lcCoefficientSalary.Control = this.calCoefficient;
            this.lcCoefficientSalary.CustomizationFormText = "Hệ số lương:";
            this.lcCoefficientSalary.Location = new Point(0xe4, 0xa4);
            this.lcCoefficientSalary.Name = "lcCoefficientSalary";
            this.lcCoefficientSalary.Size = new Size(0xa4, 0x18);
            this.lcCoefficientSalary.Text = "Hệ số lương:";
            this.lcCoefficientSalary.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcCoefficientSalary.TextSize = new Size(0x3d, 13);
            this.lcCoefficientSalary.TextToControlDistance = 15;
            this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1";
            this.emptySpaceItem1.Location = new Point(0, 0x68);
            this.emptySpaceItem1.Name = "emptySpaceItem1";
            this.emptySpaceItem1.Size = new Size(0x188, 10);
            this.emptySpaceItem1.Text = "emptySpaceItem1";
            this.emptySpaceItem1.TextSize = new Size(0, 0);
            this.lcRankSalary.AllowHtmlStringInCaption = true;
            this.lcRankSalary.Control = this.glkRankSalary;
            this.lcRankSalary.CustomizationFormText = "Ngạch lương (*):";
            this.lcRankSalary.Location = new Point(0, 0x8a);
            this.lcRankSalary.Name = "lcRankSalary";
            this.lcRankSalary.Size = new Size(0xe4, 0x1a);
            this.lcRankSalary.Text = "Ngạch lương <color=red>(*)</color>:";
            this.lcRankSalary.TextSize = new Size(0x72, 14);
            this.lcStepSalary.AllowHtmlStringInCaption = true;
            this.lcStepSalary.Control = this.cboStepSalary;
            this.lcStepSalary.CustomizationFormText = "Bậc lương (*):";
            this.lcStepSalary.Location = new Point(0xe4, 0x8a);
            this.lcStepSalary.Name = "lcStepSalary";
            this.lcStepSalary.Size = new Size(0xa4, 0x1a);
            this.lcStepSalary.Text = "Bậc lương <color=red>(*)</color>: ";
            this.lcStepSalary.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcStepSalary.TextSize = new Size(0x47, 14);
            this.lcStepSalary.TextToControlDistance = 5;
            this.lcPayForm.AllowHtmlStringInCaption = true;
            this.lcPayForm.Control = this.cboPayForm;
            this.lcPayForm.CustomizationFormText = "H\x00ecnh thức trả lương:";
            this.lcPayForm.Location = new Point(0, 0x72);
            this.lcPayForm.Name = "lcPayForm";
            this.lcPayForm.Size = new Size(0xe4, 0x18);
            this.lcPayForm.Text = "H\x00ecnh thức trả lương <color=red>(*)</color>:";
            this.lcPayForm.TextSize = new Size(0x72, 14);
            this.lcPayMoney.AllowHtmlStringInCaption = true;
            this.lcPayMoney.Control = this.calPayMoney;
            this.lcPayMoney.CustomizationFormText = "Mức lương:";
            this.lcPayMoney.Location = new Point(0xe4, 0x72);
            this.lcPayMoney.Name = "lcPayMoney";
            this.lcPayMoney.Size = new Size(0xa4, 0x18);
            this.lcPayMoney.Text = "Mức lương <color=red>(*)</color>:";
            this.lcPayMoney.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcPayMoney.TextSize = new Size(0x47, 14);
            this.lcPayMoney.TextToControlDistance = 5;
            this.lcDateSalary.Control = this.dtDateSalary;
            this.lcDateSalary.CustomizationFormText = "T\x00ednh từ ng\x00e0y:";
            this.lcDateSalary.Location = new Point(0xe4, 0xbc);
            this.lcDateSalary.Name = "lcDateSalary";
            this.lcDateSalary.Size = new Size(0xa4, 0x18);
            this.lcDateSalary.Text = "T\x00ednh từ ng\x00e0y:  ";
            this.lcDateSalary.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcDateSalary.TextSize = new Size(0x47, 13);
            this.lcDateSalary.TextToControlDistance = 5;
            this.layoutControlItem16.Control = this.cheIsSecondIncomeTax;
            this.layoutControlItem16.CustomizationFormText = "layoutControlItem16";
            this.layoutControlItem16.Location = new Point(0, 0x103);
            this.layoutControlItem16.Name = "layoutControlItem16";
            this.layoutControlItem16.Size = new Size(0xe0, 0x18);
            this.layoutControlItem16.Text = "layoutControlItem16";
            this.layoutControlItem16.TextSize = new Size(0, 0);
            this.layoutControlItem16.TextToControlDistance = 0;
            this.layoutControlItem16.TextVisible = false;
            this.layoutControlItem17.AllowHtmlStringInCaption = true;
            this.layoutControlItem17.Control = this.calPercentSecondIncomeTax;
            this.layoutControlItem17.CustomizationFormText = "<color=red>(%)</color> mức thuế TNCN:";
            this.layoutControlItem17.Location = new Point(0xe0, 0x103);
            this.layoutControlItem17.Name = "layoutControlItem17";
            this.layoutControlItem17.Size = new Size(0xa8, 0x18);
            this.layoutControlItem17.Text = "<color=red>(%)</color> mức thuế TNCN:";
            this.layoutControlItem17.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem17.TextSize = new Size(0x65, 14);
            this.layoutControlItem17.TextToControlDistance = 5;
            this.layoutControlItem14.Control = this.calSalaryPeriod1;
            this.layoutControlItem14.CustomizationFormText = "Thanh to\x00e1n lần 1:";
            this.layoutControlItem14.Location = new Point(0xd7, 0xd4);
            this.layoutControlItem14.Name = "layoutControlItem14";
            this.layoutControlItem14.Size = new Size(0xb1, 0x18);
            this.layoutControlItem14.Text = "Thanh to\x00e1n lần 1:";
            this.layoutControlItem14.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem14.TextSize = new Size(0x55, 13);
            this.layoutControlItem14.TextToControlDistance = 5;
            this.layoutControlItem8.Control = this.calInsuranceSalary;
            this.layoutControlItem8.CustomizationFormText = "Lương đ\x00f3ng BHXH:";
            this.layoutControlItem8.Location = new Point(0, 0xd4);
            this.layoutControlItem8.Name = "layoutControlItem8";
            this.layoutControlItem8.Size = new Size(0xd7, 0x18);
            this.layoutControlItem8.Text = "Lương đ\x00f3ng BHXH:  ";
            this.layoutControlItem8.TextSize = new Size(0x72, 13);
            this.layoutControlItem18.Control = this.cheIsYourSelfTax;
            this.layoutControlItem18.CustomizationFormText = "layoutControlItem18";
            this.layoutControlItem18.Location = new Point(0, 0xec);
            this.layoutControlItem18.Name = "layoutControlItem18";
            this.layoutControlItem18.Size = new Size(0x188, 0x17);
            this.layoutControlItem18.Text = "layoutControlItem18";
            this.layoutControlItem18.TextSize = new Size(0, 0);
            this.layoutControlItem18.TextToControlDistance = 0;
            this.layoutControlItem18.TextVisible = false;
            this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3";
            this.emptySpaceItem3.Location = new Point(0, 0x11b);
            this.emptySpaceItem3.Name = "emptySpaceItem3";
            this.emptySpaceItem3.Size = new Size(0x188, 10);
            this.emptySpaceItem3.Text = "emptySpaceItem3";
            this.emptySpaceItem3.TextSize = new Size(0, 0);
            this.layoutControlItem13.Control = this.glkGroupRateCode;
            this.layoutControlItem13.CustomizationFormText = "Đ\x00e1nh gi\x00e1 theo:";
            this.layoutControlItem13.Location = new Point(0, 0x125);
            this.layoutControlItem13.Name = "layoutControlItem13";
            this.layoutControlItem13.Size = new Size(0x188, 0x1a);
            this.layoutControlItem13.Text = "Đ\x00e1nh gi\x00e1 theo:";
            this.layoutControlItem13.TextSize = new Size(0x72, 13);
            this.grMain.Controls.Add(this.layoutControl3);
            this.grMain.Controls.Add(this.cheIsOffWork);
            this.grMain.Location = new Point(0x1b1, 360);
            this.grMain.Name = "grMain";
            this.grMain.Size = new Size(0x10f, 0x52);
            this.grMain.TabIndex = 8;
            this.grMain.Text = "L\x00e0m Việc Ch\x00ednh Thức";
            this.layoutControl3.Controls.Add(this.dtEndDate);
            this.layoutControl3.Controls.Add(this.dtBeginDate);
            this.layoutControl3.Dock = DockStyle.Fill;
            this.layoutControl3.Location = new Point(2, 0x16);
            this.layoutControl3.Name = "layoutControl3";
            this.layoutControl3.OptionsView.AllowHotTrack = true;
            this.layoutControl3.OptionsView.HighlightDisabledItem = true;
            this.layoutControl3.OptionsView.HighlightFocusedItem = true;
            this.layoutControl3.Root = this.layoutControlGroup3;
            this.layoutControl3.Size = new Size(0x10b, 0x3a);
            this.layoutControl3.TabIndex = 1;
            this.layoutControl3.Text = "layoutControl3";
            this.dtEndDate.EditValue = null;
            this.dtEndDate.Location = new Point(0x61, 0x1f);
            this.dtEndDate.Name = "dtEndDate";
            this.dtEndDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtEndDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtEndDate.Size = new Size(0xa3, 20);
            this.dtEndDate.StyleController = this.layoutControl3;
            this.dtEndDate.TabIndex = 1;
            this.dtBeginDate.EditValue = null;
            this.dtBeginDate.Location = new Point(0x61, 7);
            this.dtBeginDate.Name = "dtBeginDate";
            this.dtBeginDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtBeginDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtBeginDate.Size = new Size(0xa3, 20);
            this.dtBeginDate.StyleController = this.layoutControl3;
            this.dtBeginDate.TabIndex = 0;
            this.layoutControlGroup3.CustomizationFormText = "layoutControlGroup3";
            this.layoutControlGroup3.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup3.GroupBordersVisible = false;
            this.layoutControlGroup3.Items.AddRange(new BaseLayoutItem[] { this.lcBeginDate, this.lcEndDate });
            this.layoutControlGroup3.Location = new Point(0, 0);
            this.layoutControlGroup3.Name = "layoutControlGroup3";
            this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5);
            this.layoutControlGroup3.Size = new Size(0x10b, 0x3a);
            this.layoutControlGroup3.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup3.Text = "layoutControlGroup3";
            this.layoutControlGroup3.TextVisible = false;
            this.lcBeginDate.AllowHtmlStringInCaption = true;
            this.lcBeginDate.Control = this.dtBeginDate;
            this.lcBeginDate.CustomizationFormText = "layoutControlItem15";
            this.lcBeginDate.Location = new Point(0, 0);
            this.lcBeginDate.Name = "lcBeginDate";
            this.lcBeginDate.Size = new Size(0x101, 0x18);
            this.lcBeginDate.Text = "Ng\x00e0y bắt đầu <color=red>(*)</color>:";
            this.lcBeginDate.TextSize = new Size(0x56, 14);
            this.lcEndDate.Control = this.dtEndDate;
            this.lcEndDate.CustomizationFormText = "layoutControlItem17";
            this.lcEndDate.Location = new Point(0, 0x18);
            this.lcEndDate.Name = "lcEndDate";
            this.lcEndDate.Size = new Size(0x101, 0x18);
            this.lcEndDate.Text = "Ng\x00e0y kết th\x00fac:";
            this.lcEndDate.TextSize = new Size(0x56, 13);
            this.cheIsOffWork.Location = new Point(0x7b, 2);
            this.cheIsOffWork.Name = "cheIsOffWork";
            this.cheIsOffWork.Properties.Caption = "Đ\x00e3 nghỉ việc";
            this.cheIsOffWork.Size = new Size(0x54, 0x13);
            this.cheIsOffWork.TabIndex = 0;
            this.cheIsOffWork.Visible = false;
            this.grTest.Controls.Add(this.layoutControl2);
            this.grTest.Location = new Point(6, 360);
            this.grTest.Name = "grTest";
            this.grTest.Size = new Size(0x1a5, 0x52);
            this.grTest.TabIndex = 7;
            this.grTest.Text = "Thử Việc";
            this.layoutControl2.Controls.Add(this.calTestSalary);
            this.layoutControl2.Controls.Add(this.cheIsTest);
            this.layoutControl2.Controls.Add(this.cboTimeTest);
            this.layoutControl2.Controls.Add(this.dtTestFromDate);
            this.layoutControl2.Controls.Add(this.dtTestToDate);
            this.layoutControl2.Dock = DockStyle.Fill;
            this.layoutControl2.Location = new Point(2, 0x16);
            this.layoutControl2.Name = "layoutControl2";
            this.layoutControl2.OptionsView.AllowHotTrack = true;
            this.layoutControl2.OptionsView.HighlightDisabledItem = true;
            this.layoutControl2.OptionsView.HighlightFocusedItem = true;
            this.layoutControl2.Root = this.layoutControlGroup2;
            this.layoutControl2.Size = new Size(0x1a1, 0x3a);
            this.layoutControl2.TabIndex = 0;
            this.layoutControl2.Text = "layoutControl2";
            this.calTestSalary.Location = new Point(0x124, 7);
            this.calTestSalary.Name = "calTestSalary";
            this.calTestSalary.Properties.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.calTestSalary.Properties.Appearance.Options.UseFont = true;
            this.calTestSalary.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calTestSalary.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
            this.calTestSalary.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calTestSalary.Properties.ShowCloseButton = true;
            this.calTestSalary.Size = new Size(0x76, 20);
            this.calTestSalary.StyleController = this.layoutControl2;
            this.calTestSalary.TabIndex = 2;
            this.cheIsTest.Location = new Point(7, 7);
            this.cheIsTest.Name = "cheIsTest";
            this.cheIsTest.Properties.Caption = "C\x00f3 thử việc";
            this.cheIsTest.Size = new Size(0x4e, 0x13);
            this.cheIsTest.StyleController = this.layoutControl2;
            this.cheIsTest.TabIndex = 0;
            this.cboTimeTest.EditValue = "0 Th\x00e1ng";
            this.cboTimeTest.Location = new Point(0x90, 7);
            this.cboTimeTest.Name = "cboTimeTest";
            this.cboTimeTest.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.cboTimeTest.Properties.Items.AddRange(new object[] { "0 Th\x00e1ng", "1 Th\x00e1ng", "2 Th\x00e1ng", "3 Th\x00e1ng" });
            this.cboTimeTest.Size = new Size(0x40, 20);
            this.cboTimeTest.StyleController = this.layoutControl2;
            this.cboTimeTest.TabIndex = 1;
            this.cboTimeTest.EditValueChanged += new EventHandler(this.cboTimeTest_EditValueChanged);
            this.dtTestFromDate.EditValue = null;
            this.dtTestFromDate.Location = new Point(0x57, 0x1f);
            this.dtTestFromDate.Name = "dtTestFromDate";
            this.dtTestFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtTestFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtTestFromDate.Size = new Size(0x6d, 20);
            this.dtTestFromDate.StyleController = this.layoutControl2;
            this.dtTestFromDate.TabIndex = 3;
            this.dtTestToDate.EditValue = null;
            this.dtTestToDate.Location = new Point(0x100, 0x1f);
            this.dtTestToDate.Name = "dtTestToDate";
            this.dtTestToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtTestToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtTestToDate.Size = new Size(0x9a, 20);
            this.dtTestToDate.StyleController = this.layoutControl2;
            this.dtTestToDate.TabIndex = 4;
            this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
            this.layoutControlGroup2.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup2.GroupBordersVisible = false;
            this.layoutControlGroup2.Items.AddRange(new BaseLayoutItem[] { this.lcTestFromDate, this.lcTestTime, this.lcTestToDate, this.lcTestSalary, this.layoutControlItem15 });
            this.layoutControlGroup2.Location = new Point(0, 0);
            this.layoutControlGroup2.Name = "layoutControlGroup2";
            this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5);
            this.layoutControlGroup2.Size = new Size(0x1a1, 0x3a);
            this.layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup2.Text = "layoutControlGroup2";
            this.layoutControlGroup2.TextVisible = false;
            this.lcTestFromDate.Control = this.dtTestFromDate;
            this.lcTestFromDate.CustomizationFormText = "Từ Ng\x00e0y:";
            this.lcTestFromDate.Location = new Point(0, 0x18);
            this.lcTestFromDate.Name = "lcTestFromDate";
            this.lcTestFromDate.Size = new Size(0xc1, 0x18);
            this.lcTestFromDate.Text = "Từ ng\x00e0y:";
            this.lcTestFromDate.TextSize = new Size(0x4c, 13);
            this.lcTestTime.Control = this.cboTimeTest;
            this.lcTestTime.CustomizationFormText = "Thời gian: ";
            this.lcTestTime.Location = new Point(0x52, 0);
            this.lcTestTime.Name = "lcTestTime";
            this.lcTestTime.Size = new Size(0x7b, 0x18);
            this.lcTestTime.Text = "Thời gian: ";
            this.lcTestTime.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcTestTime.TextSize = new Size(50, 13);
            this.lcTestTime.TextToControlDistance = 5;
            this.lcTestToDate.Control = this.dtTestToDate;
            this.lcTestToDate.CustomizationFormText = "Đến Ng\x00e0y:";
            this.lcTestToDate.Location = new Point(0xc1, 0x18);
            this.lcTestToDate.MaxSize = new Size(0, 0x18);
            this.lcTestToDate.MinSize = new Size(0x9a, 0x18);
            this.lcTestToDate.Name = "lcTestToDate";
            this.lcTestToDate.Size = new Size(0xd6, 0x18);
            this.lcTestToDate.SizeConstraintsType = SizeConstraintsType.Custom;
            this.lcTestToDate.Text = "Đến ng\x00e0y:";
            this.lcTestToDate.TextAlignMode = TextAlignModeItem.AutoSize;
            this.lcTestToDate.TextSize = new Size(0x33, 13);
            this.lcTestToDate.TextToControlDistance = 5;
            this.lcTestSalary.Control = this.calTestSalary;
            this.lcTestSalary.CustomizationFormText = "Mức lương thử việc:";
            this.lcTestSalary.Location = new Point(0xcd, 0);
            this.lcTestSalary.Name = "lcTestSalary";
            this.lcTestSalary.Size = new Size(0xca, 0x18);
            this.lcTestSalary.Text = "Lương thử việc:";
            this.lcTestSalary.TextSize = new Size(0x4c, 13);
            this.lcTestSalary.Visibility = LayoutVisibility.Never;
            this.layoutControlItem15.Control = this.cheIsTest;
            this.layoutControlItem15.CustomizationFormText = "layoutControlItem15";
            this.layoutControlItem15.Location = new Point(0, 0);
            this.layoutControlItem15.Name = "layoutControlItem15";
            this.layoutControlItem15.Size = new Size(0x52, 0x18);
            this.layoutControlItem15.Text = "layoutControlItem15";
            this.layoutControlItem15.TextSize = new Size(0, 0);
            this.layoutControlItem15.TextToControlDistance = 0;
            this.layoutControlItem15.TextVisible = false;
            this.tabContactInformation.Controls.Add(this.groupControl1);
            this.tabContactInformation.Controls.Add(this.grLabor);
            this.tabContactInformation.Controls.Add(this.grParty);
            this.tabContactInformation.Controls.Add(this.grPassport);
            this.tabContactInformation.Controls.Add(this.grMilitary);
            this.tabContactInformation.Controls.Add(this.grUnion);
            this.tabContactInformation.Controls.Add(this.grBankAccount);
            this.tabContactInformation.Name = "tabContactInformation";
            this.tabContactInformation.Size = new Size(0x2c5, 0x1bf);
            this.tabContactInformation.Text = "Li\x00ean Hệ - X\x00e3 Hội";
            this.groupControl1.Controls.Add(this.labelControl5);
            this.groupControl1.Controls.Add(this.labelControl4);
            this.groupControl1.Controls.Add(this.labelControl3);
            this.groupControl1.Controls.Add(this.pictureBox3);
            this.groupControl1.Controls.Add(this.pictureBox2);
            this.groupControl1.Controls.Add(this.pictureBox1);
            this.groupControl1.Controls.Add(this.txtFacebook);
            this.groupControl1.Controls.Add(this.txtYahoo);
            this.groupControl1.Controls.Add(this.txtSkype);
            this.groupControl1.Location = new Point(8, 0x159);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new Size(0x2b7, 0x60);
            this.groupControl1.TabIndex = 6;
            this.groupControl1.Text = "Li\x00ean hệ kh\x00e1c";
            this.labelControl5.Location = new Point(0x2a, 0x42);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new Size(0x2e, 13);
            this.labelControl5.TabIndex = 9;
            this.labelControl5.Text = "Facebook";
            this.labelControl4.Location = new Point(0x194, 0x22);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new Size(30, 13);
            this.labelControl4.TabIndex = 8;
            this.labelControl4.Text = "Yahoo";
            this.labelControl3.Location = new Point(0x2b, 0x22);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new Size(0x1d, 13);
            this.labelControl3.TabIndex = 7;
            this.labelControl3.Text = "Skype";
            this.pictureBox3.Image = HRM.CORE.MsgResc.yahoo_protocol;
            this.pictureBox3.Location = new Point(0x178, 0x1d);
            this.pictureBox3.Name = "pictureBox3";
            this.pictureBox3.Size = new Size(0x15, 0x15);
            this.pictureBox3.SizeMode = PictureBoxSizeMode.StretchImage;
            this.pictureBox3.TabIndex = 6;
            this.pictureBox3.TabStop = false;
            this.pictureBox2.Image = HRM.CORE.MsgResc.facebook;
            this.pictureBox2.Location = new Point(0x10, 0x3e);
            this.pictureBox2.Name = "pictureBox2";
            this.pictureBox2.Size = new Size(0x15, 0x15);
            this.pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage;
            this.pictureBox2.TabIndex = 5;
            this.pictureBox2.TabStop = false;
            this.pictureBox1.Image = HRM.CORE.MsgResc.skype;
            this.pictureBox1.Location = new Point(0x10, 30);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new Size(0x15, 0x15);
            this.pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 4;
            this.pictureBox1.TabStop = false;
            this.txtFacebook.Location = new Point(0x62, 0x3f);
            this.txtFacebook.Name = "txtFacebook";
            this.txtFacebook.Size = new Size(0xe8, 20);
            this.txtFacebook.StyleController = this.layoutControl12;
            this.txtFacebook.TabIndex = 3;
            this.layoutControl12.Controls.Add(this.txtUnionPlace);
            this.layoutControl12.Controls.Add(this.dtUnionDate);
            this.layoutControl12.Controls.Add(this.txtUnionCode);
            this.layoutControl12.Controls.Add(this.cheIsUnion);
            this.layoutControl12.Dock = DockStyle.Fill;
            this.layoutControl12.Location = new Point(2, 0x16);
            this.layoutControl12.Name = "layoutControl12";
            this.layoutControl12.OptionsView.AllowHotTrack = true;
            this.layoutControl12.OptionsView.HighlightDisabledItem = true;
            this.layoutControl12.OptionsView.HighlightFocusedItem = true;
            this.layoutControl12.Root = this.layoutControlGroup12;
            this.layoutControl12.Size = new Size(0x14d, 80);
            this.layoutControl12.TabIndex = 0;
            this.layoutControl12.Text = "layoutControl12";
            this.txtUnionPlace.Location = new Point(0x61, 0x36);
            this.txtUnionPlace.Name = "txtUnionPlace";
            this.txtUnionPlace.Size = new Size(230, 20);
            this.txtUnionPlace.StyleController = this.layoutControl12;
            this.txtUnionPlace.TabIndex = 0;
            this.dtUnionDate.EditValue = null;
            this.dtUnionDate.Location = new Point(0x61, 30);
            this.dtUnionDate.Name = "dtUnionDate";
            this.dtUnionDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtUnionDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtUnionDate.Size = new Size(230, 20);
            this.dtUnionDate.StyleController = this.layoutControl12;
            this.dtUnionDate.TabIndex = 3;
            this.txtUnionCode.Location = new Point(0xc4, 6);
            this.txtUnionCode.Name = "txtUnionCode";
            this.txtUnionCode.Size = new Size(0x83, 20);
            this.txtUnionCode.StyleController = this.layoutControl12;
            this.txtUnionCode.TabIndex = 2;
            this.cheIsUnion.Location = new Point(6, 6);
            this.cheIsUnion.Name = "cheIsUnion";
            this.cheIsUnion.Properties.Caption = "Đ\x00e3 v\x00e0o đo\x00e0n";
            this.cheIsUnion.Size = new Size(0x5f, 0x13);
            this.cheIsUnion.StyleController = this.layoutControl12;
            this.cheIsUnion.TabIndex = 1;
            this.layoutControlGroup12.CustomizationFormText = "layoutControlGroup12";
            this.layoutControlGroup12.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup12.GroupBordersVisible = false;
            this.layoutControlGroup12.Items.AddRange(new BaseLayoutItem[] { this.lcUnionCode, this.lcUnionDate, this.lcUnionPlace, this.layoutControlItem64 });
            this.layoutControlGroup12.Location = new Point(0, 0);
            this.layoutControlGroup12.Name = "layoutControlGroup12";
            this.layoutControlGroup12.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup12.Size = new Size(0x14d, 80);
            this.layoutControlGroup12.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup12.Text = "layoutControlGroup12";
            this.layoutControlGroup12.TextVisible = false;
            this.lcUnionCode.Control = this.txtUnionCode;
            this.lcUnionCode.CustomizationFormText = "layoutControlItem61";
            this.lcUnionCode.Location = new Point(0x63, 0);
            this.lcUnionCode.Name = "lcUnionCode";
            this.lcUnionCode.Size = new Size(0xe2, 0x18);
            this.lcUnionCode.Text = "Sổ thẻ Đo\x00e0n:";
            this.lcUnionCode.TextSize = new Size(0x57, 13);
            this.lcUnionDate.Control = this.dtUnionDate;
            this.lcUnionDate.CustomizationFormText = "layoutControlItem62";
            this.lcUnionDate.Location = new Point(0, 0x18);
            this.lcUnionDate.Name = "lcUnionDate";
            this.lcUnionDate.Size = new Size(0x145, 0x18);
            this.lcUnionDate.Text = "Ng\x00e0y v\x00e0o Đo\x00e0n:";
            this.lcUnionDate.TextSize = new Size(0x57, 13);
            this.lcUnionPlace.Control = this.txtUnionPlace;
            this.lcUnionPlace.CustomizationFormText = "layoutControlItem63";
            this.lcUnionPlace.Location = new Point(0, 0x30);
            this.lcUnionPlace.Name = "lcUnionPlace";
            this.lcUnionPlace.Size = new Size(0x145, 0x18);
            this.lcUnionPlace.Text = "Nơi cấp thẻ Đo\x00e0n:";
            this.lcUnionPlace.TextSize = new Size(0x57, 13);
            this.layoutControlItem64.Control = this.cheIsUnion;
            this.layoutControlItem64.CustomizationFormText = "layoutControlItem64";
            this.layoutControlItem64.Location = new Point(0, 0);
            this.layoutControlItem64.Name = "layoutControlItem64";
            this.layoutControlItem64.Size = new Size(0x63, 0x18);
            this.layoutControlItem64.Text = "layoutControlItem64";
            this.layoutControlItem64.TextSize = new Size(0, 0);
            this.layoutControlItem64.TextToControlDistance = 0;
            this.layoutControlItem64.TextVisible = false;
            this.txtYahoo.Location = new Point(0x1c0, 0x1f);
            this.txtYahoo.Name = "txtYahoo";
            this.txtYahoo.Size = new Size(0xe8, 20);
            this.txtYahoo.StyleController = this.layoutControl12;
            this.txtYahoo.TabIndex = 2;
            this.txtSkype.Location = new Point(0x62, 0x1f);
            this.txtSkype.Name = "txtSkype";
            this.txtSkype.Size = new Size(0xe8, 20);
            this.txtSkype.StyleController = this.layoutControl12;
            this.txtSkype.TabIndex = 1;
            this.grLabor.Controls.Add(this.layoutControl7);
            this.grLabor.Location = new Point(0x15f, 0x100);
            this.grLabor.Name = "grLabor";
            this.grLabor.Size = new Size(0x160, 0x53);
            this.grLabor.TabIndex = 5;
            this.grLabor.Text = "Sổ Lao Động";
            this.layoutControl7.Controls.Add(this.txtLaborPlace);
            this.layoutControl7.Controls.Add(this.dtLaborDate);
            this.layoutControl7.Controls.Add(this.txtLaborCode);
            this.layoutControl7.Dock = DockStyle.Fill;
            this.layoutControl7.Location = new Point(2, 0x16);
            this.layoutControl7.Name = "layoutControl7";
            this.layoutControl7.OptionsView.AllowHotTrack = true;
            this.layoutControl7.OptionsView.HighlightDisabledItem = true;
            this.layoutControl7.OptionsView.HighlightFocusedItem = true;
            this.layoutControl7.Root = this.layoutControlGroup7;
            this.layoutControl7.Size = new Size(0x15c, 0x3b);
            this.layoutControl7.TabIndex = 0;
            this.layoutControl7.Text = "layoutControl7";
            this.txtLaborPlace.Location = new Point(0x3b, 30);
            this.txtLaborPlace.Name = "txtLaborPlace";
            this.txtLaborPlace.Size = new Size(0x11b, 20);
            this.txtLaborPlace.StyleController = this.layoutControl7;
            this.txtLaborPlace.TabIndex = 2;
            this.dtLaborDate.EditValue = null;
            this.dtLaborDate.Location = new Point(0xee, 6);
            this.dtLaborDate.Name = "dtLaborDate";
            this.dtLaborDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtLaborDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtLaborDate.Size = new Size(0x68, 20);
            this.dtLaborDate.StyleController = this.layoutControl7;
            this.dtLaborDate.TabIndex = 1;
            this.txtLaborCode.Location = new Point(0x3b, 6);
            this.txtLaborCode.Name = "txtLaborCode";
            this.txtLaborCode.Size = new Size(0x7a, 20);
            this.txtLaborCode.StyleController = this.layoutControl7;
            this.txtLaborCode.TabIndex = 0;
            this.layoutControlGroup7.CustomizationFormText = "layoutControlGroup7";
            this.layoutControlGroup7.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup7.GroupBordersVisible = false;
            this.layoutControlGroup7.Items.AddRange(new BaseLayoutItem[] { this.lcLaborDate, this.lcLaborPlace, this.lcLaborCode });
            this.layoutControlGroup7.Location = new Point(0, 0);
            this.layoutControlGroup7.Name = "layoutControlGroup7";
            this.layoutControlGroup7.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup7.Size = new Size(0x15c, 0x3b);
            this.layoutControlGroup7.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup7.Text = "layoutControlGroup7";
            this.layoutControlGroup7.TextVisible = false;
            this.lcLaborDate.Control = this.dtLaborDate;
            this.lcLaborDate.CustomizationFormText = "Ng\x00e0y cấp:";
            this.lcLaborDate.Location = new Point(0xb3, 0);
            this.lcLaborDate.Name = "lcLaborDate";
            this.lcLaborDate.Size = new Size(0xa1, 0x18);
            this.lcLaborDate.Text = "Ng\x00e0y cấp:";
            this.lcLaborDate.TextSize = new Size(0x31, 13);
            this.lcLaborPlace.Control = this.txtLaborPlace;
            this.lcLaborPlace.CustomizationFormText = "Nơi cấp:";
            this.lcLaborPlace.Location = new Point(0, 0x18);
            this.lcLaborPlace.Name = "lcLaborPlace";
            this.lcLaborPlace.Size = new Size(340, 0x1b);
            this.lcLaborPlace.Text = "Nơi cấp:";
            this.lcLaborPlace.TextSize = new Size(0x31, 13);
            this.lcLaborCode.Control = this.txtLaborCode;
            this.lcLaborCode.CustomizationFormText = "Số sổ:";
            this.lcLaborCode.Location = new Point(0, 0);
            this.lcLaborCode.Name = "lcLaborCode";
            this.lcLaborCode.Size = new Size(0xb3, 0x18);
            this.lcLaborCode.Text = "Số sổ:";
            this.lcLaborCode.TextSize = new Size(0x31, 13);
            this.grParty.Controls.Add(this.layoutControl13);
            this.grParty.Location = new Point(0x15f, 6);
            this.grParty.Name = "grParty";
            this.grParty.Size = new Size(350, 0x68);
            this.grParty.TabIndex = 2;
            this.grParty.Text = "Đảng Vi\x00ean";
            this.layoutControl13.Controls.Add(this.txtPartyPlace);
            this.layoutControl13.Controls.Add(this.dtPartyDate);
            this.layoutControl13.Controls.Add(this.txtPartyCode);
            this.layoutControl13.Controls.Add(this.cheIsParty);
            this.layoutControl13.Dock = DockStyle.Fill;
            this.layoutControl13.Location = new Point(2, 0x16);
            this.layoutControl13.Name = "layoutControl13";
            this.layoutControl13.OptionsView.AllowHotTrack = true;
            this.layoutControl13.OptionsView.HighlightDisabledItem = true;
            this.layoutControl13.OptionsView.HighlightFocusedItem = true;
            this.layoutControl13.Root = this.layoutControlGroup13;
            this.layoutControl13.Size = new Size(0x15a, 80);
            this.layoutControl13.TabIndex = 0;
            this.layoutControl13.Text = "layoutControl13";
            this.txtPartyPlace.Location = new Point(0x59, 0x36);
            this.txtPartyPlace.Name = "txtPartyPlace";
            this.txtPartyPlace.Size = new Size(0xfb, 20);
            this.txtPartyPlace.StyleController = this.layoutControl13;
            this.txtPartyPlace.TabIndex = 3;
            this.dtPartyDate.EditValue = null;
            this.dtPartyDate.Location = new Point(0x59, 30);
            this.dtPartyDate.Name = "dtPartyDate";
            this.dtPartyDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPartyDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPartyDate.Size = new Size(0xfb, 20);
            this.dtPartyDate.StyleController = this.layoutControl13;
            this.dtPartyDate.TabIndex = 2;
            this.txtPartyCode.Location = new Point(0xc6, 6);
            this.txtPartyCode.Name = "txtPartyCode";
            this.txtPartyCode.Size = new Size(0x8e, 20);
            this.txtPartyCode.StyleController = this.layoutControl13;
            this.txtPartyCode.TabIndex = 1;
            this.cheIsParty.Location = new Point(6, 6);
            this.cheIsParty.Name = "cheIsParty";
            this.cheIsParty.Properties.Caption = "Đ\x00e3 l\x00e0 đảng vi\x00ean";
            this.cheIsParty.Size = new Size(0x69, 0x13);
            this.cheIsParty.StyleController = this.layoutControl13;
            this.cheIsParty.TabIndex = 0;
            this.layoutControlGroup13.CustomizationFormText = "layoutControlGroup12";
            this.layoutControlGroup13.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup13.GroupBordersVisible = false;
            this.layoutControlGroup13.Items.AddRange(new BaseLayoutItem[] { this.lcPartyCode, this.lcPartyDate, this.lcPartyPlace, this.layoutControlItem68 });
            this.layoutControlGroup13.Location = new Point(0, 0);
            this.layoutControlGroup13.Name = "layoutControlGroup12";
            this.layoutControlGroup13.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup13.Size = new Size(0x15a, 80);
            this.layoutControlGroup13.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup13.Text = "layoutControlGroup12";
            this.layoutControlGroup13.TextVisible = false;
            this.lcPartyCode.Control = this.txtPartyCode;
            this.lcPartyCode.CustomizationFormText = "layoutControlItem61";
            this.lcPartyCode.Location = new Point(0x6d, 0);
            this.lcPartyCode.Name = "lcPartyCode";
            this.lcPartyCode.Size = new Size(0xe5, 0x18);
            this.lcPartyCode.Text = "Số thẻ Đảng:";
            this.lcPartyCode.TextSize = new Size(0x4f, 13);
            this.lcPartyDate.Control = this.dtPartyDate;
            this.lcPartyDate.CustomizationFormText = "layoutControlItem62";
            this.lcPartyDate.Location = new Point(0, 0x18);
            this.lcPartyDate.Name = "lcPartyDate";
            this.lcPartyDate.Size = new Size(0x152, 0x18);
            this.lcPartyDate.Text = "Ng\x00e0y v\x00e0o Đảng:";
            this.lcPartyDate.TextSize = new Size(0x4f, 13);
            this.lcPartyPlace.Control = this.txtPartyPlace;
            this.lcPartyPlace.CustomizationFormText = "layoutControlItem63";
            this.lcPartyPlace.Location = new Point(0, 0x30);
            this.lcPartyPlace.Name = "lcPartyPlace";
            this.lcPartyPlace.Size = new Size(0x152, 0x18);
            this.lcPartyPlace.Text = "Nơi cấp:";
            this.lcPartyPlace.TextSize = new Size(0x4f, 13);
            this.layoutControlItem68.Control = this.cheIsParty;
            this.layoutControlItem68.CustomizationFormText = "layoutControlItem64";
            this.layoutControlItem68.Location = new Point(0, 0);
            this.layoutControlItem68.Name = "layoutControlItem64";
            this.layoutControlItem68.Size = new Size(0x6d, 0x18);
            this.layoutControlItem68.Text = "layoutControlItem64";
            this.layoutControlItem68.TextSize = new Size(0, 0);
            this.layoutControlItem68.TextToControlDistance = 0;
            this.layoutControlItem68.TextVisible = false;
            this.grPassport.Controls.Add(this.layoutControl11);
            this.grPassport.Location = new Point(6, 0x100);
            this.grPassport.Name = "grPassport";
            this.grPassport.Size = new Size(0x153, 0x53);
            this.grPassport.TabIndex = 4;
            this.grPassport.Text = "Sổ Hộ Chiếu";
            this.layoutControl11.Controls.Add(this.dtPassportToDate);
            this.layoutControl11.Controls.Add(this.dtPassportFromDate);
            this.layoutControl11.Controls.Add(this.txtPassportCode);
            this.layoutControl11.Dock = DockStyle.Fill;
            this.layoutControl11.Location = new Point(2, 0x16);
            this.layoutControl11.Name = "layoutControl11";
            this.layoutControl11.OptionsView.AllowHotTrack = true;
            this.layoutControl11.OptionsView.HighlightDisabledItem = true;
            this.layoutControl11.OptionsView.HighlightFocusedItem = true;
            this.layoutControl11.Root = this.layoutControlGroup11;
            this.layoutControl11.Size = new Size(0x14f, 0x3b);
            this.layoutControl11.TabIndex = 0;
            this.layoutControl11.Text = "layoutControl11";
            this.dtPassportToDate.EditValue = null;
            this.dtPassportToDate.Location = new Point(0x3d, 30);
            this.dtPassportToDate.Name = "dtPassportToDate";
            this.dtPassportToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPassportToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPassportToDate.Size = new Size(0x10c, 20);
            this.dtPassportToDate.StyleController = this.layoutControl11;
            this.dtPassportToDate.TabIndex = 2;
            this.dtPassportFromDate.EditValue = null;
            this.dtPassportFromDate.Location = new Point(230, 6);
            this.dtPassportFromDate.Name = "dtPassportFromDate";
            this.dtPassportFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtPassportFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtPassportFromDate.Size = new Size(0x63, 20);
            this.dtPassportFromDate.StyleController = this.layoutControl11;
            this.dtPassportFromDate.TabIndex = 1;
            this.txtPassportCode.Location = new Point(0x3d, 6);
            this.txtPassportCode.Name = "txtPassportCode";
            this.txtPassportCode.Size = new Size(110, 20);
            this.txtPassportCode.StyleController = this.layoutControl11;
            this.txtPassportCode.TabIndex = 0;
            this.layoutControlGroup11.CustomizationFormText = "layoutControlGroup10";
            this.layoutControlGroup11.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup11.GroupBordersVisible = false;
            this.layoutControlGroup11.Items.AddRange(new BaseLayoutItem[] { this.lcPassportFromDate, this.lcPassportToDate, this.lcPassportCode });
            this.layoutControlGroup11.Location = new Point(0, 0);
            this.layoutControlGroup11.Name = "layoutControlGroup10";
            this.layoutControlGroup11.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup11.Size = new Size(0x14f, 0x3b);
            this.layoutControlGroup11.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup11.Text = "layoutControlGroup10";
            this.layoutControlGroup11.TextVisible = false;
            this.lcPassportFromDate.Control = this.dtPassportFromDate;
            this.lcPassportFromDate.CustomizationFormText = "Ng\x00e0y nhập ngũ:";
            this.lcPassportFromDate.Location = new Point(0xa9, 0);
            this.lcPassportFromDate.Name = "lcPassportFromDate";
            this.lcPassportFromDate.Size = new Size(0x9e, 0x18);
            this.lcPassportFromDate.Text = "Ng\x00e0y cấp:";
            this.lcPassportFromDate.TextSize = new Size(0x33, 13);
            this.lcPassportToDate.Control = this.dtPassportToDate;
            this.lcPassportToDate.CustomizationFormText = "Đến ng\x00e0y:";
            this.lcPassportToDate.Location = new Point(0, 0x18);
            this.lcPassportToDate.Name = "lcPassportToDate";
            this.lcPassportToDate.Size = new Size(0x147, 0x1b);
            this.lcPassportToDate.Text = "Đến ng\x00e0y:";
            this.lcPassportToDate.TextSize = new Size(0x33, 13);
            this.lcPassportCode.Control = this.txtPassportCode;
            this.lcPassportCode.CustomizationFormText = "Số:";
            this.lcPassportCode.Location = new Point(0, 0);
            this.lcPassportCode.Name = "lcPassportCode";
            this.lcPassportCode.Size = new Size(0xa9, 0x18);
            this.lcPassportCode.Text = "Số sổ:";
            this.lcPassportCode.TextSize = new Size(0x33, 13);
            this.grMilitary.Controls.Add(this.layoutControl10);
            this.grMilitary.Location = new Point(8, 0x76);
            this.grMilitary.Name = "grMilitary";
            this.grMilitary.Size = new Size(0x151, 0x84);
            this.grMilitary.TabIndex = 1;
            this.grMilitary.Text = "Nghĩa Vụ Qu\x00e2n Sự";
            this.layoutControl10.Controls.Add(this.txtMilitaryPosition);
            this.layoutControl10.Controls.Add(this.dtMilitaryToDate);
            this.layoutControl10.Controls.Add(this.dtMilitaryFromDate);
            this.layoutControl10.Controls.Add(this.txtMilitaryCode);
            this.layoutControl10.Dock = DockStyle.Fill;
            this.layoutControl10.Location = new Point(2, 0x16);
            this.layoutControl10.Name = "layoutControl10";
            this.layoutControl10.OptionsView.AllowHotTrack = true;
            this.layoutControl10.OptionsView.HighlightDisabledItem = true;
            this.layoutControl10.OptionsView.HighlightFocusedItem = true;
            this.layoutControl10.Root = this.layoutControlGroup10;
            this.layoutControl10.Size = new Size(0x14d, 0x6c);
            this.layoutControl10.TabIndex = 0;
            this.layoutControl10.Text = "layoutControl10";
            this.txtMilitaryPosition.Location = new Point(0x57, 0x4e);
            this.txtMilitaryPosition.Name = "txtMilitaryPosition";
            this.txtMilitaryPosition.Size = new Size(240, 20);
            this.txtMilitaryPosition.StyleController = this.layoutControl10;
            this.txtMilitaryPosition.TabIndex = 3;
            this.dtMilitaryToDate.EditValue = null;
            this.dtMilitaryToDate.Location = new Point(0x57, 0x36);
            this.dtMilitaryToDate.Name = "dtMilitaryToDate";
            this.dtMilitaryToDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtMilitaryToDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtMilitaryToDate.Size = new Size(240, 20);
            this.dtMilitaryToDate.StyleController = this.layoutControl10;
            this.dtMilitaryToDate.TabIndex = 2;
            this.dtMilitaryFromDate.EditValue = null;
            this.dtMilitaryFromDate.Location = new Point(0x57, 30);
            this.dtMilitaryFromDate.Name = "dtMilitaryFromDate";
            this.dtMilitaryFromDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtMilitaryFromDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtMilitaryFromDate.Size = new Size(240, 20);
            this.dtMilitaryFromDate.StyleController = this.layoutControl10;
            this.dtMilitaryFromDate.TabIndex = 1;
            this.txtMilitaryCode.Location = new Point(0x57, 6);
            this.txtMilitaryCode.Name = "txtMilitaryCode";
            this.txtMilitaryCode.Size = new Size(240, 20);
            this.txtMilitaryCode.StyleController = this.layoutControl10;
            this.txtMilitaryCode.TabIndex = 0;
            this.layoutControlGroup10.CustomizationFormText = "layoutControlGroup10";
            this.layoutControlGroup10.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup10.GroupBordersVisible = false;
            this.layoutControlGroup10.Items.AddRange(new BaseLayoutItem[] { this.lcMilitaryCode, this.lcMilitaryFromDate, this.lcMilitaryToDate, this.lcMilitaryPosition });
            this.layoutControlGroup10.Location = new Point(0, 0);
            this.layoutControlGroup10.Name = "layoutControlGroup10";
            this.layoutControlGroup10.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup10.Size = new Size(0x14d, 0x6c);
            this.layoutControlGroup10.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup10.Text = "layoutControlGroup10";
            this.layoutControlGroup10.TextVisible = false;
            this.lcMilitaryCode.Control = this.txtMilitaryCode;
            this.lcMilitaryCode.CustomizationFormText = "Số:";
            this.lcMilitaryCode.Location = new Point(0, 0);
            this.lcMilitaryCode.Name = "lcMilitaryCode";
            this.lcMilitaryCode.Size = new Size(0x145, 0x18);
            this.lcMilitaryCode.Text = "Số:";
            this.lcMilitaryCode.TextSize = new Size(0x4d, 13);
            this.lcMilitaryFromDate.Control = this.dtMilitaryFromDate;
            this.lcMilitaryFromDate.CustomizationFormText = "Ng\x00e0y nhập ngũ:";
            this.lcMilitaryFromDate.Location = new Point(0, 0x18);
            this.lcMilitaryFromDate.Name = "lcMilitaryFromDate";
            this.lcMilitaryFromDate.Size = new Size(0x145, 0x18);
            this.lcMilitaryFromDate.Text = "Ng\x00e0y nhập ngũ:";
            this.lcMilitaryFromDate.TextSize = new Size(0x4d, 13);
            this.lcMilitaryToDate.Control = this.dtMilitaryToDate;
            this.lcMilitaryToDate.CustomizationFormText = "Ng\x00e0y xuất ngũ:";
            this.lcMilitaryToDate.Location = new Point(0, 0x30);
            this.lcMilitaryToDate.Name = "lcMilitaryToDate";
            this.lcMilitaryToDate.Size = new Size(0x145, 0x18);
            this.lcMilitaryToDate.Text = "Ng\x00e0y xuất ngũ:";
            this.lcMilitaryToDate.TextSize = new Size(0x4d, 13);
            this.lcMilitaryPosition.Control = this.txtMilitaryPosition;
            this.lcMilitaryPosition.CustomizationFormText = "Chức vụ:";
            this.lcMilitaryPosition.Location = new Point(0, 0x48);
            this.lcMilitaryPosition.Name = "lcMilitaryPosition";
            this.lcMilitaryPosition.Size = new Size(0x145, 0x1c);
            this.lcMilitaryPosition.Text = "Chức vụ:";
            this.lcMilitaryPosition.TextSize = new Size(0x4d, 13);
            this.grUnion.Controls.Add(this.layoutControl12);
            this.grUnion.Location = new Point(8, 6);
            this.grUnion.Name = "grUnion";
            this.grUnion.Size = new Size(0x151, 0x68);
            this.grUnion.TabIndex = 0;
            this.grUnion.Text = "Đo\x00e0n Vi\x00ean";
            this.grBankAccount.Controls.Add(this.layoutControl9);
            this.grBankAccount.Location = new Point(0x15f, 0x76);
            this.grBankAccount.Name = "grBankAccount";
            this.grBankAccount.Size = new Size(0x160, 0x84);
            this.grBankAccount.TabIndex = 3;
            this.grBankAccount.Text = "T\x00e0i Khoản Ng\x00e2n H\x00e0ng";
            this.layoutControl9.Controls.Add(this.txtBankAddress);
            this.layoutControl9.Controls.Add(this.txtBankName);
            this.layoutControl9.Controls.Add(this.dtBankDate);
            this.layoutControl9.Controls.Add(this.txtBankCode);
            this.layoutControl9.Dock = DockStyle.Fill;
            this.layoutControl9.Location = new Point(2, 0x16);
            this.layoutControl9.Name = "layoutControl9";
            this.layoutControl9.OptionsView.AllowHotTrack = true;
            this.layoutControl9.OptionsView.HighlightDisabledItem = true;
            this.layoutControl9.OptionsView.HighlightFocusedItem = true;
            this.layoutControl9.Root = this.layoutControlGroup9;
            this.layoutControl9.Size = new Size(0x15c, 0x6c);
            this.layoutControl9.TabIndex = 0;
            this.layoutControl9.Text = "layoutControl9";
            this.txtBankAddress.Location = new Point(0x56, 0x4e);
            this.txtBankAddress.Name = "txtBankAddress";
            this.txtBankAddress.Size = new Size(0x100, 20);
            this.txtBankAddress.StyleController = this.layoutControl9;
            this.txtBankAddress.TabIndex = 3;
            this.txtBankName.Location = new Point(0x56, 0x36);
            this.txtBankName.Name = "txtBankName";
            this.txtBankName.Size = new Size(0x100, 20);
            this.txtBankName.StyleController = this.layoutControl9;
            this.txtBankName.TabIndex = 2;
            this.dtBankDate.EditValue = null;
            this.dtBankDate.Location = new Point(0x56, 30);
            this.dtBankDate.Name = "dtBankDate";
            this.dtBankDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtBankDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtBankDate.Size = new Size(0x100, 20);
            this.dtBankDate.StyleController = this.layoutControl9;
            this.dtBankDate.TabIndex = 1;
            this.txtBankCode.Location = new Point(0x56, 6);
            this.txtBankCode.Name = "txtBankCode";
            this.txtBankCode.Size = new Size(0x100, 20);
            this.txtBankCode.StyleController = this.layoutControl9;
            this.txtBankCode.TabIndex = 0;
            this.layoutControlGroup9.CustomizationFormText = "layoutControlGroup9";
            this.layoutControlGroup9.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup9.GroupBordersVisible = false;
            this.layoutControlGroup9.Items.AddRange(new BaseLayoutItem[] { this.lcBankCode, this.lcBankDate, this.lcBankName, this.lcBankAddress });
            this.layoutControlGroup9.Location = new Point(0, 0);
            this.layoutControlGroup9.Name = "layoutControlGroup9";
            this.layoutControlGroup9.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup9.Size = new Size(0x15c, 0x6c);
            this.layoutControlGroup9.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup9.Text = "layoutControlGroup9";
            this.layoutControlGroup9.TextVisible = false;
            this.lcBankCode.Control = this.txtBankCode;
            this.lcBankCode.CustomizationFormText = "Số t\x00e0i khoản:";
            this.lcBankCode.Location = new Point(0, 0);
            this.lcBankCode.Name = "lcBankCode";
            this.lcBankCode.Size = new Size(340, 0x18);
            this.lcBankCode.Text = "Số t\x00e0i khoản:";
            this.lcBankCode.TextSize = new Size(0x4c, 13);
            this.lcBankDate.Control = this.dtBankDate;
            this.lcBankDate.CustomizationFormText = "Ng\x00e0y cấp:";
            this.lcBankDate.Location = new Point(0, 0x18);
            this.lcBankDate.Name = "lcBankDate";
            this.lcBankDate.Size = new Size(340, 0x18);
            this.lcBankDate.Text = "Ng\x00e0y cấp:";
            this.lcBankDate.TextSize = new Size(0x4c, 13);
            this.lcBankName.Control = this.txtBankName;
            this.lcBankName.CustomizationFormText = "T\x00ean ng\x00e2n h\x00e0ng:";
            this.lcBankName.Location = new Point(0, 0x30);
            this.lcBankName.Name = "lcBankName";
            this.lcBankName.Size = new Size(340, 0x18);
            this.lcBankName.Text = "T\x00ean ng\x00e2n h\x00e0ng:";
            this.lcBankName.TextSize = new Size(0x4c, 13);
            this.lcBankAddress.Control = this.txtBankAddress;
            this.lcBankAddress.CustomizationFormText = "Địa chỉ:";
            this.lcBankAddress.Location = new Point(0, 0x48);
            this.lcBankAddress.Name = "lcBankAddress";
            this.lcBankAddress.Size = new Size(340, 0x1c);
            this.lcBankAddress.Text = "Địa chỉ:";
            this.lcBankAddress.TextSize = new Size(0x4c, 13);
            this.tabAllowance.Controls.Add(this.gbAllowance);
            this.tabAllowance.Controls.Add(this.groupBox1);
            this.tabAllowance.Name = "tabAllowance";
            this.tabAllowance.Padding = new System.Windows.Forms.Padding(4);
            this.tabAllowance.Size = new Size(0x2c5, 0x1bf);
            this.tabAllowance.Text = "Hưởng Phụ Cấp";
            this.gbAllowance.Dock = DockStyle.Fill;
            this.gbAllowance.Location = new Point(4, 0x37);
            this.gbAllowance.Name = "gbAllowance";
            this.gbAllowance.Size = new Size(0x2bd, 0x184);
            this.gbAllowance.TabIndex = 2;
            this.gbAllowance.TabStop = false;
            this.gbAllowance.Text = "C\x00e1c loại phụ cấp kh\x00e1c";
            this.groupBox1.Controls.Add(this.layoutControl15);
            this.groupBox1.Dock = DockStyle.Top;
            this.groupBox1.Location = new Point(4, 4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new Size(0x2bd, 0x33);
            this.groupBox1.TabIndex = 1;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Phụ cấp đ\x00f3ng bảo hiểm x\x00e3 hội (VNĐ)";
            this.groupBox1.Visible = false;
            this.layoutControl15.Controls.Add(this.calAllowance4);
            this.layoutControl15.Controls.Add(this.calAllowance3);
            this.layoutControl15.Controls.Add(this.calAllowance2);
            this.layoutControl15.Controls.Add(this.calAllowance1);
            this.layoutControl15.Dock = DockStyle.Fill;
            this.layoutControl15.Location = new Point(3, 0x11);
            this.layoutControl15.Name = "layoutControl15";
            this.layoutControl15.OptionsView.AllowHotTrack = true;
            this.layoutControl15.OptionsView.HighlightDisabledItem = true;
            this.layoutControl15.OptionsView.HighlightFocusedItem = true;
            this.layoutControl15.Root = this.layoutControlGroup15;
            this.layoutControl15.Size = new Size(0x2b7, 0x1f);
            this.layoutControl15.TabIndex = 0;
            this.layoutControl15.Text = "layoutControl15";
            this.calAllowance4.Location = new Point(0x25f, 4);
            this.calAllowance4.Name = "calAllowance4";
            this.calAllowance4.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calAllowance4.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calAllowance4.Size = new Size(0x54, 20);
            this.calAllowance4.StyleController = this.layoutControl15;
            this.calAllowance4.TabIndex = 7;
            this.calAllowance3.Location = new Point(0x1c5, 4);
            this.calAllowance3.Name = "calAllowance3";
            this.calAllowance3.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calAllowance3.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calAllowance3.Size = new Size(0x55, 20);
            this.calAllowance3.StyleController = this.layoutControl15;
            this.calAllowance3.TabIndex = 6;
            this.calAllowance2.Location = new Point(0x105, 4);
            this.calAllowance2.Name = "calAllowance2";
            this.calAllowance2.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calAllowance2.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calAllowance2.Size = new Size(0x56, 20);
            this.calAllowance2.StyleController = this.layoutControl15;
            this.calAllowance2.TabIndex = 5;
            this.calAllowance1.Location = new Point(0x45, 4);
            this.calAllowance1.Name = "calAllowance1";
            this.calAllowance1.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.calAllowance1.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.calAllowance1.Size = new Size(0x62, 20);
            this.calAllowance1.StyleController = this.layoutControl15;
            this.calAllowance1.TabIndex = 4;
            this.layoutControlGroup15.CustomizationFormText = "layoutControlGroup15";
            this.layoutControlGroup15.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup15.GroupBordersVisible = false;
            this.layoutControlGroup15.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4 });
            this.layoutControlGroup15.Location = new Point(0, 0);
            this.layoutControlGroup15.Name = "layoutControlGroup15";
            this.layoutControlGroup15.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
            this.layoutControlGroup15.Size = new Size(0x2b7, 0x1f);
            this.layoutControlGroup15.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup15.Text = "layoutControlGroup15";
            this.layoutControlGroup15.TextVisible = false;
            this.layoutControlItem1.AllowHtmlStringInCaption = true;
            this.layoutControlItem1.Control = this.calAllowance1;
            this.layoutControlItem1.CustomizationFormText = "Phụ cấp chức vụ:";
            this.layoutControlItem1.Location = new Point(0, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new Size(0xa7, 0x1b);
            this.layoutControlItem1.Text = "<color=blue>[1]</color> Chức vụ:";
            this.layoutControlItem1.TextSize = new Size(0x3d, 14);
            this.layoutControlItem2.AllowHtmlStringInCaption = true;
            this.layoutControlItem2.Control = this.calAllowance2;
            this.layoutControlItem2.CustomizationFormText = "Th\x00e2m ni\x00ean VK:";
            this.layoutControlItem2.Location = new Point(0xa7, 0);
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.Size = new Size(180, 0x1b);
            this.layoutControlItem2.Text = "<color=blue>[2]</color> Th\x00e2m ni\x00ean VK:";
            this.layoutControlItem2.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem2.TextSize = new Size(0x55, 14);
            this.layoutControlItem2.TextToControlDistance = 5;
            this.layoutControlItem3.AllowHtmlStringInCaption = true;
            this.layoutControlItem3.Control = this.calAllowance3;
            this.layoutControlItem3.CustomizationFormText = "Th\x00e2m ni\x00ean nghề:";
            this.layoutControlItem3.Location = new Point(0x15b, 0);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.Size = new Size(0xbf, 0x1b);
            this.layoutControlItem3.Text = "<color=blue>[3]</color> Th\x00e2m ni\x00ean nghề:";
            this.layoutControlItem3.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem3.TextSize = new Size(0x61, 14);
            this.layoutControlItem3.TextToControlDistance = 5;
            this.layoutControlItem4.AllowHtmlStringInCaption = true;
            this.layoutControlItem4.Control = this.calAllowance4;
            this.layoutControlItem4.CustomizationFormText = "Phụ cấp khu vực:";
            this.layoutControlItem4.Location = new Point(0x21a, 0);
            this.layoutControlItem4.Name = "layoutControlItem4";
            this.layoutControlItem4.Size = new Size(0x99, 0x1b);
            this.layoutControlItem4.Text = "<color=blue>[4]</color> Khu vực:";
            this.layoutControlItem4.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem4.TextSize = new Size(60, 14);
            this.layoutControlItem4.TextToControlDistance = 5;
            this.tabPersonContact.Name = "tabPersonContact";
            this.tabPersonContact.Size = new Size(0x2c5, 0x1bf);
            this.tabPersonContact.Text = "Người Li\x00ean Hệ, Phụ Thuộc";
            this.tabActivity.Name = "tabActivity";
            this.tabActivity.Size = new Size(0x2c5, 0x1bf);
            this.tabActivity.Text = "Qu\x00e1 Tr\x00ecnh Học Tập V\x00e0 L\x00e0m Việc";
            this.tabSchedule.Name = "tabSchedule";
            this.tabSchedule.Size = new Size(0x2c5, 0x1bf);
            this.tabSchedule.Text = "Lịch Tr\x00ecnh L\x00e0m Việc";
            this.tabUser.Controls.Add(this.groupBox2);
            this.tabUser.Name = "tabUser";
            this.tabUser.Size = new Size(0x2c5, 0x1bf);
            this.tabUser.Text = "T\x00e0i Khoản";
            this.groupBox2.Controls.Add(this.labelControl2);
            this.groupBox2.Controls.Add(this.btUser);
            this.groupBox2.Location = new Point(10, 12);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new Size(0x2b0, 0x19d);
            this.groupBox2.TabIndex = 0x10;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "T\x00e0i khoản người d\x00f9ng";
            this.labelControl2.Appearance.Font = new Font("Tahoma", 13f);
            this.labelControl2.Appearance.ForeColor = Color.Blue;
            this.labelControl2.Appearance.Options.UseFont = true;
            this.labelControl2.Appearance.Options.UseForeColor = true;
            this.labelControl2.Location = new Point(0xbb, 0x74);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new Size(0x149, 0x15);
            this.labelControl2.TabIndex = 1;
            this.labelControl2.Text = "Đăng k\x00fd t\x00e0i khoản đăng nhập cho nh\x00e2n vi\x00ean!";
            this.btUser.Appearance.Font = new Font("Tahoma", 9f, FontStyle.Bold);
            this.btUser.Appearance.ForeColor = Color.Black;
            this.btUser.Appearance.Options.UseFont = true;
            this.btUser.Appearance.Options.UseForeColor = true;
            this.btUser.Image = Resources.Person;
            this.btUser.Location = new Point(0xee, 0xa1);
            this.btUser.Name = "btUser";
            this.btUser.Size = new Size(0xde, 0x2b);
            this.btUser.TabIndex = 0;
            this.btUser.Text = "T\x00e0i Khoản Người D\x00f9ng";
            this.btUser.Click += new EventHandler(this.btUser_Click);
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.cboStatus);
            base.Controls.Add(this.lcStatus);
            base.Controls.Add(this.xtraTabControl1);
            base.Name = "xucEmployeeAdd";
            base.Padding = new System.Windows.Forms.Padding(2);
            base.Size = new Size(720, 0x21e);
            base.Load += new EventHandler(this.xucEmployeeAdd_Load);
            base.Controls.SetChildIndex(this.xtraTabControl1, 0);
            base.Controls.SetChildIndex(base.btnCancel, 0);
            base.Controls.SetChildIndex(base.btnSave, 0);
            base.Controls.SetChildIndex(base.btnSaveNew, 0);
            base.Controls.SetChildIndex(this.lcStatus, 0);
            base.Controls.SetChildIndex(this.cboStatus, 0);
            ((ISupportInitialize) base.Err).EndInit();
            base.imageCollection2.EndInit();
            this.cboStatus.Properties.EndInit();
            this.xtraTabControl1.EndInit();
            this.xtraTabControl1.ResumeLayout(false);
            this.tabBasicInformation.ResumeLayout(false);
            this.layoutControl1.EndInit();
            this.layoutControl1.ResumeLayout(false);
            this.cboReasonLeave.Properties.EndInit();
            this.cboResidenceType.Properties.EndInit();
            this.txtIncomeTaxCode.Properties.EndInit();
            this.chcDegree.Properties.EndInit();
            this.cboProfessional.Properties.EndInit();
            this.txtEnrollNumber.Properties.EndInit();
            this.txtDescription.Properties.EndInit();
            this.grHealth.EndInit();
            this.grHealth.ResumeLayout(false);
            this.layoutControl5.EndInit();
            this.layoutControl5.ResumeLayout(false);
            this.calWeight.Properties.EndInit();
            this.calHeight.Properties.EndInit();
            this.txtHealth.Properties.EndInit();
            this.layoutControlGroup5.EndInit();
            this.lcHealth.EndInit();
            this.lcHeight.EndInit();
            this.lcWeight.EndInit();
            this.cboInformatic.Properties.EndInit();
            this.cboLanguage.Properties.EndInit();
            this.cboEducation.Properties.EndInit();
            this.txtEmail.Properties.EndInit();
            this.txtHomePhone.Properties.EndInit();
            this.txtCellPhone.Properties.EndInit();
            this.txtAlias.Properties.EndInit();
            this.cboMariage.Properties.EndInit();
            this.grIDCard.EndInit();
            this.grIDCard.ResumeLayout(false);
            this.layoutControl4.EndInit();
            this.layoutControl4.ResumeLayout(false);
            this.txtIDCardPlace.Properties.EndInit();
            this.dtIDCardDate.Properties.VistaTimeProperties.EndInit();
            this.dtIDCardDate.Properties.EndInit();
            this.txtIDCard.Properties.EndInit();
            this.layoutControlGroup4.EndInit();
            this.lcIDCard.EndInit();
            this.lcIDCardDate.EndInit();
            this.lcIDCardPlace.EndInit();
            this.txtLastName.Properties.EndInit();
            this.cheSex.Properties.EndInit();
            this.imgPhoto.Properties.EndInit();
            this.cboNationality.Properties.EndInit();
            this.txtContactAddress.Properties.EndInit();
            this.txtMainAddress.Properties.EndInit();
            this.cboReligion.Properties.EndInit();
            this.cboEthnic.Properties.EndInit();
            this.txtBirthPlace.Properties.EndInit();
            this.txtID.Properties.EndInit();
            this.txtFirstName.Properties.EndInit();
            this.cboSchool.Properties.EndInit();
            this.layoutControlGroup1.EndInit();
            this.lcNationality.EndInit();
            this.lcEmployeeCode.EndInit();
            this.lcBirthPlace.EndInit();
            this.lcMainAddress.EndInit();
            this.lcContactAddress.EndInit();
            this.layoutControlItem11.EndInit();
            this.layoutControlItem10.EndInit();
            this.lcLastName.EndInit();
            this.lcFirstName.EndInit();
            this.lcAlias.EndInit();
            this.lcMarriage.EndInit();
            this.lcCellPhone.EndInit();
            this.lcHomePhone.EndInit();
            this.lcEmail.EndInit();
            this.lcEthnic.EndInit();
            this.lcReligion.EndInit();
            this.lcEducation.EndInit();
            this.lcLanguage.EndInit();
            this.lcInformatic.EndInit();
            this.layoutControlItem30.EndInit();
            this.layoutControlItem34.EndInit();
            this.lcProfessional.EndInit();
            this.lcDegree.EndInit();
            this.lcSchool.EndInit();
            this.emptySpaceItem2.EndInit();
            this.lcEnrollNumber.EndInit();
            this.layoutControlItem12.EndInit();
            this.layoutControlItem9.EndInit();
            this.lcDescription.EndInit();
            this.lcBirthday.EndInit();
            this.lcReasonLeave.EndInit();
            this.tabWorkInformation.ResumeLayout(false);
            this.tabWorkInformation.PerformLayout();
            this.layoutControl16.EndInit();
            this.layoutControl16.ResumeLayout(false);
            this.layoutControl17.EndInit();
            this.layoutControl17.ResumeLayout(false);
            this.dtContractToDate.Properties.VistaTimeProperties.EndInit();
            this.dtContractToDate.Properties.EndInit();
            this.dtContractFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtContractFromDate.Properties.EndInit();
            this.dtContractSignDate.Properties.VistaTimeProperties.EndInit();
            this.dtContractSignDate.Properties.EndInit();
            this.cboContractType.Properties.EndInit();
            this.cboContractCode.Properties.EndInit();
            this.layoutControlGroup17.EndInit();
            this.lcContractCode.EndInit();
            this.lcContractType.EndInit();
            this.lcContractSignDate.EndInit();
            this.lcContractFromDate.EndInit();
            this.lcContractToDate.EndInit();
            this.layoutControl14.EndInit();
            this.layoutControl14.ResumeLayout(false);
            this.dtHealthInsuranceToDate.Properties.VistaTimeProperties.EndInit();
            this.dtHealthInsuranceToDate.Properties.EndInit();
            this.dtHealthInsuranceFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtHealthInsuranceFromDate.Properties.EndInit();
            this.txtHealthInsuranceCode.Properties.EndInit();
            this.cboProvince.Properties.EndInit();
            this.cboHospital.Properties.EndInit();
            this.layoutControlGroup14.EndInit();
            this.lcHealthInsuranceCode.EndInit();
            this.lcProvince.EndInit();
            this.lcHealthInsuranceFromDate.EndInit();
            this.lcHospital.EndInit();
            this.lcHealthInsuranceToDate.EndInit();
            this.layoutControl8.EndInit();
            this.layoutControl8.ResumeLayout(false);
            this.txtInsurancePlace.Properties.EndInit();
            this.dtInsuranceDate.Properties.VistaTimeProperties.EndInit();
            this.dtInsuranceDate.Properties.EndInit();
            this.txtInsuranceCode.Properties.EndInit();
            this.layoutControlGroup8.EndInit();
            this.lcSocialInsuranceCode.EndInit();
            this.lcSocialInsuranceDate.EndInit();
            this.lcSocialInsurancePlace.EndInit();
            this.layoutControlGroup16.EndInit();
            this.lcgSocialInsurance.EndInit();
            this.layoutControlItem5.EndInit();
            this.lcgHealthInsurance.EndInit();
            this.layoutControlItem6.EndInit();
            this.lcgContract.EndInit();
            this.layoutControlItem7.EndInit();
            this.cheUnionMoney.Properties.EndInit();
            this.cheUnemploymentInsurance.Properties.EndInit();
            this.cheHealthInsurance.Properties.EndInit();
            this.cheSocialInsurance.Properties.EndInit();
            this.grWorkInformation.EndInit();
            this.grWorkInformation.ResumeLayout(false);
            this.layoutControl6.EndInit();
            this.layoutControl6.ResumeLayout(false);
            this.cheIsYourSelfTax.Properties.EndInit();
            this.calSalaryPeriod1.Properties.EndInit();
            this.calPercentSecondIncomeTax.Properties.EndInit();
            this.cheIsSecondIncomeTax.Properties.EndInit();
            this.calInsuranceSalary.Properties.EndInit();
            this.calPayMoney.Properties.EndInit();
            this.cboPayForm.Properties.EndInit();
            this.calMinimumSalary.Properties.EndInit();
            this.calBasicSalary.Properties.EndInit();
            this.calCoefficient.Properties.EndInit();
            this.glkBranch.Properties.EndInit();
            this.gridLookUpEdit1View.EndInit();
            this.dtDateSalary.Properties.VistaTimeProperties.EndInit();
            this.dtDateSalary.Properties.EndInit();
            this.glkDepartment.Properties.EndInit();
            this.gridView4.EndInit();
            this.glkGroup.Properties.EndInit();
            this.gridView5.EndInit();
            this.glkRankSalary.Properties.EndInit();
            this.gridView7.EndInit();
            this.cboStepSalary.Properties.EndInit();
            this.cboPosition.Properties.EndInit();
            this.glkGroupRateCode.Properties.EndInit();
            this.gridView1.EndInit();
            this.layoutControlGroup6.EndInit();
            this.lcDepartment.EndInit();
            this.lcBranch.EndInit();
            this.lcGroup.EndInit();
            this.lcPosition.EndInit();
            this.lcMinimumSalary.EndInit();
            this.lcBasicSalary.EndInit();
            this.lcCoefficientSalary.EndInit();
            this.emptySpaceItem1.EndInit();
            this.lcRankSalary.EndInit();
            this.lcStepSalary.EndInit();
            this.lcPayForm.EndInit();
            this.lcPayMoney.EndInit();
            this.lcDateSalary.EndInit();
            this.layoutControlItem16.EndInit();
            this.layoutControlItem17.EndInit();
            this.layoutControlItem14.EndInit();
            this.layoutControlItem8.EndInit();
            this.layoutControlItem18.EndInit();
            this.emptySpaceItem3.EndInit();
            this.layoutControlItem13.EndInit();
            this.grMain.EndInit();
            this.grMain.ResumeLayout(false);
            this.layoutControl3.EndInit();
            this.layoutControl3.ResumeLayout(false);
            this.dtEndDate.Properties.VistaTimeProperties.EndInit();
            this.dtEndDate.Properties.EndInit();
            this.dtBeginDate.Properties.VistaTimeProperties.EndInit();
            this.dtBeginDate.Properties.EndInit();
            this.layoutControlGroup3.EndInit();
            this.lcBeginDate.EndInit();
            this.lcEndDate.EndInit();
            this.cheIsOffWork.Properties.EndInit();
            this.grTest.EndInit();
            this.grTest.ResumeLayout(false);
            this.layoutControl2.EndInit();
            this.layoutControl2.ResumeLayout(false);
            this.calTestSalary.Properties.EndInit();
            this.cheIsTest.Properties.EndInit();
            this.cboTimeTest.Properties.EndInit();
            this.dtTestFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtTestFromDate.Properties.EndInit();
            this.dtTestToDate.Properties.VistaTimeProperties.EndInit();
            this.dtTestToDate.Properties.EndInit();
            this.layoutControlGroup2.EndInit();
            this.lcTestFromDate.EndInit();
            this.lcTestTime.EndInit();
            this.lcTestToDate.EndInit();
            this.lcTestSalary.EndInit();
            this.layoutControlItem15.EndInit();
            this.tabContactInformation.ResumeLayout(false);
            this.groupControl1.EndInit();
            this.groupControl1.ResumeLayout(false);
            this.groupControl1.PerformLayout();
            ((ISupportInitialize) this.pictureBox3).EndInit();
            ((ISupportInitialize) this.pictureBox2).EndInit();
            ((ISupportInitialize) this.pictureBox1).EndInit();
            this.txtFacebook.Properties.EndInit();
            this.layoutControl12.EndInit();
            this.layoutControl12.ResumeLayout(false);
            this.txtUnionPlace.Properties.EndInit();
            this.dtUnionDate.Properties.VistaTimeProperties.EndInit();
            this.dtUnionDate.Properties.EndInit();
            this.txtUnionCode.Properties.EndInit();
            this.cheIsUnion.Properties.EndInit();
            this.layoutControlGroup12.EndInit();
            this.lcUnionCode.EndInit();
            this.lcUnionDate.EndInit();
            this.lcUnionPlace.EndInit();
            this.layoutControlItem64.EndInit();
            this.txtYahoo.Properties.EndInit();
            this.txtSkype.Properties.EndInit();
            this.grLabor.EndInit();
            this.grLabor.ResumeLayout(false);
            this.layoutControl7.EndInit();
            this.layoutControl7.ResumeLayout(false);
            this.txtLaborPlace.Properties.EndInit();
            this.dtLaborDate.Properties.VistaTimeProperties.EndInit();
            this.dtLaborDate.Properties.EndInit();
            this.txtLaborCode.Properties.EndInit();
            this.layoutControlGroup7.EndInit();
            this.lcLaborDate.EndInit();
            this.lcLaborPlace.EndInit();
            this.lcLaborCode.EndInit();
            this.grParty.EndInit();
            this.grParty.ResumeLayout(false);
            this.layoutControl13.EndInit();
            this.layoutControl13.ResumeLayout(false);
            this.txtPartyPlace.Properties.EndInit();
            this.dtPartyDate.Properties.VistaTimeProperties.EndInit();
            this.dtPartyDate.Properties.EndInit();
            this.txtPartyCode.Properties.EndInit();
            this.cheIsParty.Properties.EndInit();
            this.layoutControlGroup13.EndInit();
            this.lcPartyCode.EndInit();
            this.lcPartyDate.EndInit();
            this.lcPartyPlace.EndInit();
            this.layoutControlItem68.EndInit();
            this.grPassport.EndInit();
            this.grPassport.ResumeLayout(false);
            this.layoutControl11.EndInit();
            this.layoutControl11.ResumeLayout(false);
            this.dtPassportToDate.Properties.VistaTimeProperties.EndInit();
            this.dtPassportToDate.Properties.EndInit();
            this.dtPassportFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtPassportFromDate.Properties.EndInit();
            this.txtPassportCode.Properties.EndInit();
            this.layoutControlGroup11.EndInit();
            this.lcPassportFromDate.EndInit();
            this.lcPassportToDate.EndInit();
            this.lcPassportCode.EndInit();
            this.grMilitary.EndInit();
            this.grMilitary.ResumeLayout(false);
            this.layoutControl10.EndInit();
            this.layoutControl10.ResumeLayout(false);
            this.txtMilitaryPosition.Properties.EndInit();
            this.dtMilitaryToDate.Properties.VistaTimeProperties.EndInit();
            this.dtMilitaryToDate.Properties.EndInit();
            this.dtMilitaryFromDate.Properties.VistaTimeProperties.EndInit();
            this.dtMilitaryFromDate.Properties.EndInit();
            this.txtMilitaryCode.Properties.EndInit();
            this.layoutControlGroup10.EndInit();
            this.lcMilitaryCode.EndInit();
            this.lcMilitaryFromDate.EndInit();
            this.lcMilitaryToDate.EndInit();
            this.lcMilitaryPosition.EndInit();
            this.grUnion.EndInit();
            this.grUnion.ResumeLayout(false);
            this.grBankAccount.EndInit();
            this.grBankAccount.ResumeLayout(false);
            this.layoutControl9.EndInit();
            this.layoutControl9.ResumeLayout(false);
            this.txtBankAddress.Properties.EndInit();
            this.txtBankName.Properties.EndInit();
            this.dtBankDate.Properties.VistaTimeProperties.EndInit();
            this.dtBankDate.Properties.EndInit();
            this.txtBankCode.Properties.EndInit();
            this.layoutControlGroup9.EndInit();
            this.lcBankCode.EndInit();
            this.lcBankDate.EndInit();
            this.lcBankName.EndInit();
            this.lcBankAddress.EndInit();
            this.tabAllowance.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.layoutControl15.EndInit();
            this.layoutControl15.ResumeLayout(false);
            this.calAllowance4.Properties.EndInit();
            this.calAllowance3.Properties.EndInit();
            this.calAllowance2.Properties.EndInit();
            this.calAllowance1.Properties.EndInit();
            this.layoutControlGroup15.EndInit();
            this.layoutControlItem1.EndInit();
            this.layoutControlItem2.EndInit();
            this.layoutControlItem3.EndInit();
            this.layoutControlItem4.EndInit();
            this.tabUser.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void InitInterface()
        {
            MyRule.Get(MyLogin.RoleId, "bbiUsers");
            if (!MyRule.AllowAccess)
            {
                this.tabUser.PageVisible = false;
            }
        }

        private void InitMultiLanguages()
        {
            this.tabBasicInformation.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "tabBasicInformation", this.tabBasicInformation.Text);
            this.tabWorkInformation.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "tabWorkInformation", this.tabWorkInformation.Text);
            this.tabContactInformation.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "tabContactInformation", this.tabContactInformation.Text);
            this.tabAllowance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "tabAllowance", this.tabAllowance.Text);
            this.tabPersonContact.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "tabPersonContact", this.tabPersonContact.Text);
            this.grIDCard.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grIDCard", this.grIDCard.Text);
            this.grHealth.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grHealth", this.grHealth.Text);
            this.grWorkInformation.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grWorkInformation", this.grWorkInformation.Text);
            this.grTest.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grTest", this.grTest.Text);
            this.lcgSocialInsurance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grSocialInsurance", this.lcgSocialInsurance.Text);
            this.lcgHealthInsurance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grHealthInsurance", this.lcgHealthInsurance.Text);
            this.grMain.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grMain", this.grMain.Text);
            this.grBankAccount.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grBankAccount", this.grBankAccount.Text);
            this.grMilitary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grMilitary", this.grMilitary.Text);
            this.grPassport.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grPassport", this.grPassport.Text);
            this.grUnion.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grUnion", this.grUnion.Text);
            this.grParty.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grParty", this.grParty.Text);
            this.grLabor.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "grLabor", this.grLabor.Text);
            this.imgPhoto.Properties.NullText = MultiLanguages.GetString("tbl_EmployeeAdd", "NoPhoto", this.imgPhoto.Properties.NullText);
            this.lcBranch.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BranchName", this.lcBranch.Text);
            this.lcDepartment.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "DepartmentName", this.lcDepartment.Text);
            this.lcGroup.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "GroupName", this.lcGroup.Text);
            this.lcEmployeeCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "EmployeeCode", this.lcEmployeeCode.Text);
            this.lcFirstName.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "FirstName", this.lcFirstName.Text);
            this.lcLastName.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "LastName", this.lcLastName.Text);
            this.lcAlias.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Alias", this.lcAlias.Text);
            this.cheSex.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Sex", this.cheSex.Text);
            this.lcBirthday.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Birthday", this.lcBirthday.Text);
            this.lcBirthPlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Birthplace", this.lcBirthPlace.Text);
            this.lcCellPhone.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "CellPhone", this.lcCellPhone.Text);
            this.lcHomePhone.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "HomePhone", this.lcHomePhone.Text);
            this.lcMainAddress.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MainAddress", this.lcMainAddress.Text);
            this.lcContactAddress.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContactAddress", this.lcContactAddress.Text);
            this.lcPosition.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Position", this.lcPosition.Text);
            this.lcIDCard.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IDCard", this.lcIDCard.Text);
            this.lcIDCardDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IDCardDate", this.lcIDCardDate.Text);
            this.lcIDCardPlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IDCardPlace", this.lcIDCardPlace.Text);
            this.lcHealth.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Health", this.lcHealth.Text);
            this.lcHeight.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Height", this.lcHeight.Text);
            this.lcWeight.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Weight", this.lcWeight.Text);
            this.lcStatus.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Status", this.lcStatus.Text);
            this.lcTestFromDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "TestFromDate", this.lcTestFromDate.Text);
            this.lcTestToDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "TestToDate", this.lcTestToDate.Text);
            this.lcBeginDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BeginDate", this.lcBeginDate.Text);
            this.lcEndDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "EndDate", this.lcEndDate.Text);
            this.lcNationality.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Nationality", this.lcNationality.Text);
            this.lcProfessional.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Professional", this.lcProfessional.Text);
            this.lcReligion.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Religion", this.lcReligion.Text);
            this.lcMarriage.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Marriage", this.lcMarriage.Text);
            this.lcLanguage.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Language", this.lcLanguage.Text);
            this.lcInformatic.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Informatic", this.lcInformatic.Text);
            this.lcEthnic.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Ethnic", this.lcEthnic.Text);
            this.lcEducation.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Education", this.lcEducation.Text);
            this.lcDegree.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Degree", this.lcDegree.Text);
            this.lcSchool.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "School", this.lcSchool.Text);
            this.lcEnrollNumber.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "EnrollNumber", this.lcEnrollNumber.Text);
            this.lcDescription.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Description", this.lcDescription.Text);
            this.lcPayForm.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PayForm", this.lcPayForm.Text);
            this.lcPayMoney.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PayMoney", this.lcPayMoney.Text);
            this.lcRankSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "RankSalary", this.lcRankSalary.Text);
            this.lcStepSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "StepSalary", this.lcStepSalary.Text);
            this.lcMinimumSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MinimumSalary", this.lcMinimumSalary.Text);
            this.lcCoefficientSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "CoefficientSalary", this.lcCoefficientSalary.Text);
            this.lcBasicSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BasicSalary", this.lcBasicSalary.Text);
            this.lcDateSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "DateSalary", this.lcDateSalary.Text);
            this.lcSocialInsuranceCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "InsuranceCode", this.lcSocialInsuranceCode.Text);
            this.lcSocialInsuranceDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "InsuranceDate", this.lcSocialInsuranceDate.Text);
            this.lcSocialInsurancePlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "InsurancePlace", this.lcSocialInsurancePlace.Text);
            this.lcHealthInsuranceCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "HealthInsuranceCode", this.lcHealthInsuranceCode.Text);
            this.lcHealthInsuranceFromDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "HealthInsuranceFromDate", this.lcHealthInsuranceFromDate.Text);
            this.lcHealthInsuranceToDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "HealthInsuranceToDate", this.lcHealthInsuranceToDate.Text);
            this.lcgContract.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Contract", this.lcgContract.Text);
            this.lcContractCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContractCode", this.lcContractCode.Text);
            this.lcContractType.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContractType", this.lcContractType.Text);
            this.lcContractSignDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContractSignDate", this.lcContractSignDate.Text);
            this.lcContractFromDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContractFromDate", this.lcContractFromDate.Text);
            this.lcContractToDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "ContractToDate", this.lcContractToDate.Text);
            this.lcProvince.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Province", this.lcProvince.Text);
            this.lcHospital.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "Hospital", this.lcHospital.Text);
            this.cheSocialInsurance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsSocialInsurance", this.cheSocialInsurance.Text);
            this.cheHealthInsurance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsHealthInsurance", this.cheHealthInsurance.Text);
            this.cheUnemploymentInsurance.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsUnemploymentInsurance", this.cheUnemploymentInsurance.Text);
            this.cheUnionMoney.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsUnionMoney", this.cheUnionMoney.Text);
            this.cheIsTest.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsTest", this.cheIsTest.Text);
            this.lcTestTime.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "TestTime", this.lcTestTime.Text);
            this.lcTestSalary.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "TestSalary", this.lcTestSalary.Text);
            this.lcBankCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BankCode", this.lcBankCode.Text);
            this.lcBankDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BankDate", this.lcBankDate.Text);
            this.lcBankAddress.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BankAddress", this.lcBankAddress.Text);
            this.lcBankName.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "BankName", this.lcBankName.Text);
            this.lcMilitaryCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MilitaryCode", this.lcMilitaryCode.Text);
            this.lcMilitaryFromDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MilitaryFromDate", this.lcMilitaryFromDate.Text);
            this.lcMilitaryToDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MilitaryToDate", this.lcMilitaryToDate.Text);
            this.lcMilitaryPosition.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "MilitaryPosition", this.lcMilitaryPosition.Text);
            this.lcPassportCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PassportCode", this.lcPassportCode.Text);
            this.lcPassportFromDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PassportFromDate", this.lcPassportFromDate.Text);
            this.lcPassportToDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PassportToDate", this.lcPassportToDate.Text);
            this.cheIsUnion.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsUnion", this.cheIsUnion.Text);
            this.lcUnionCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "UnionCode", this.lcUnionCode.Text);
            this.lcUnionDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "UnionDate", this.lcUnionDate.Text);
            this.lcUnionPlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "UnionPlace", this.lcUnionPlace.Text);
            this.cheIsParty.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "IsParty", this.cheIsParty.Text);
            this.lcPartyCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PartyCode", this.lcPartyCode.Text);
            this.lcPartyDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PartyDate", this.lcPartyDate.Text);
            this.lcPartyPlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "PartyPlace", this.lcPartyPlace.Text);
            this.lcLaborCode.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "LaborCode", this.lcLaborCode.Text);
            this.lcLaborDate.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "LaborDate", this.lcLaborDate.Text);
            this.lcLaborPlace.Text = MultiLanguages.GetString("tbl_EmployeeAdd", "LaborPlace", this.lcLaborPlace.Text);
        }

        private void RaiseInputEmployeeNameHandler(string EmployeeName)
        {
            if (this.InputEmployeeName != null)
            {
                this.InputEmployeeName(this, EmployeeName);
            }
        }

        private void RaiseSuccessEventHander(HRM_EMPLOYEE item)
        {
            if (this.Success != null)
            {
                this.Success(this, item);
            }
        }

        private void SaveContract()
        {
        }

        private void SaveDegree()
        {
            foreach (CheckedListBoxItem item in this.chcDegree.Properties.Items)
            {
                HRM_EMPLOYEE_DEGREE hrm_employee_degree = new HRM_EMPLOYEE_DEGREE();
                if (item.CheckState == CheckState.Unchecked)
                {
                    if (hrm_employee_degree.Exist(this.txtID.Text, item.Value.ToString()))
                    {
                        hrm_employee_degree.Delete(this.txtID.Text, item.Value.ToString());
                    }
                }
                else if ((item.CheckState == CheckState.Checked) && !hrm_employee_degree.Exist(this.txtID.Text, item.Value.ToString()))
                {
                    hrm_employee_degree.Insert(this.txtID.Text, item.Value.ToString());
                }
            }
        }

        public void SetData(HRM_EMPLOYEE item)
        {
            this.txtID.Text = item.EmployeeCode;
            SYS_LOG.Insert("Danh S\x00e1ch Nh\x00e2n Vi\x00ean", "Xem", this.txtID.Text);
            if (base.m_Status == Actions.Update)
            {
                this.txtID.Properties.ReadOnly = true;
            }
            this.txtFirstName.Text = item.FirstName;
            this.txtLastName.Text = item.LastName;
            this.txtAlias.Text = item.Alias;
            this.cheSex.Checked = item.Sex;
            this.xdeBirthday.Day = item.BirthdayDay;
            this.xdeBirthday.Month = item.BirthdayMonth;
            this.xdeBirthday.Year = item.BirthdayYear;
            this.cboMariage.Text = item.Marriage;
            this.txtBirthPlace.Text = item.BirthPlace;
            this.txtMainAddress.Text = item.MainAddress;
            this.txtContactAddress.Text = item.ContactAddress;
            this.txtCellPhone.Text = item.CellPhone;
            this.txtHomePhone.Text = item.HomePhone;
            this.txtEmail.Text = item.Email;
            this.txtSkype.Text = item.Skype;
            this.txtYahoo.Text = item.Yahoo;
            this.txtFacebook.Text = item.Facebook;
            this.imgPhoto.Image = item.Photo;
            this.cboNationality.Text = item.Nationality;
            this.cboEthnic.Text = item.Ethnic;
            this.cboReligion.Text = item.Religion;
            this.cboEducation.Text = item.Education;
            this.cboLanguage.Text = item.Language;
            this.cboInformatic.Text = item.Informatic;
            this.cboProfessional.Text = item.Professional;
            this.glkGroupRateCode.EditValue = item.GroupRateCode;
            this.cboSchool.Text = item.School;
            this.txtIDCard.Text = item.IDCard;
            this.dtIDCardDate.DateTime = item.IDCardDate;
            this.txtIDCardPlace.Text = item.IDCardPlace;
            this.txtHealth.Text = item.Health;
            this.calHeight.Text = item.Height.ToString();
            this.calWeight.Text = item.Weight.ToString();
            this.cboPayForm.SelectedIndex = item.PayForm;
            this.calPayMoney.EditValue = item.PayMoney;
            this.txtEnrollNumber.Text = item.EnrollNumber;
            this.txtIncomeTaxCode.Text = item.IncomeTaxCode;
            this.cboResidenceType.SelectedIndex = item.ResidenceType;
            this.cboReasonLeave.Text = item.ReasonLeave;
            this.txtDescription.Text = item.Description;
            if (item.Status < 2)
            {
                this.cboStatus.SelectedIndex = item.Status;
            }
            else
            {
                this.cboStatus.SelectedIndex = 2;
            }
            this.glkBranch.EditValue = item.BranchCode;
            new HRM_DEPARTMENT().AddGridLookupEdit(this.glkDepartment, this.glkBranch.EditValue.ToString());
            this.glkDepartment.EditValue = item.DepartmentCode;
            new HRM_GROUP().AddGridLookupEdit(this.glkGroup, this.glkDepartment.EditValue.ToString());
            this.glkGroup.EditValue = item.GroupCode;
            this.cboPosition.Text = item.Position;
            this.glkRankSalary.EditValue = item.RankSalary;
            this.cboStepSalary.EditValue = item.StepSalary;
            if (item.DateSalary == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtDateSalary.Text = "";
            }
            else
            {
                this.dtDateSalary.DateTime = item.DateSalary;
            }
            this.calBasicSalary.EditValue = item.BasicSalary;
            this.calSalaryPeriod1.EditValue = item.SalaryPeriod1;
            this.calInsuranceSalary.EditValue = item.InsuranceSalary;
            this.calAllowance1.EditValue = item.Allowance1;
            this.calAllowance2.EditValue = item.Allowance2;
            this.calAllowance3.EditValue = item.Allowance3;
            this.calAllowance4.EditValue = item.Allowance4;
            this.calMinimumSalary.EditValue = item.MinimumSalary;
            this.cheIsYourSelfTax.Checked = item.IsYourSelfTax;
            this.cheIsSecondIncomeTax.Checked = item.IsSecondIncomeTax;
            this.calPercentSecondIncomeTax.EditValue = item.PercentSecondIncomeTax;
            this.cheSocialInsurance.Checked = item.IsSocialInsurance;
            this.cheHealthInsurance.Checked = item.IsHealthInsurance;
            this.cheUnemploymentInsurance.Checked = item.IsUnemploymentInsurance;
            this.cheUnionMoney.Checked = item.IsUnionMoney;
            this.cheIsTest.Checked = item.IsTest;
            this.cboTimeTest.Text = item.TestTime;
            if (item.TestFromDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtTestFromDate.Text = "";
            }
            else
            {
                this.dtTestFromDate.DateTime = item.TestFromDate;
            }
            if (item.TestToDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtTestToDate.Text = "";
            }
            else
            {
                this.dtTestToDate.DateTime = item.TestToDate;
            }
            this.calTestSalary.EditValue = item.TestSalary;
            this.txtLaborCode.Text = item.LaborCode;
            if (item.LaborDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtLaborDate.Text = "";
            }
            else
            {
                this.dtLaborDate.DateTime = item.LaborDate;
            }
            this.txtLaborPlace.Text = item.LaborPlace;
            this.txtInsuranceCode.Text = item.InsuranceCode;
            if (item.InsuranceDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtInsuranceDate.Text = "";
            }
            else
            {
                this.dtInsuranceDate.DateTime = item.InsuranceDate;
            }
            this.txtInsurancePlace.Text = item.InsurancePlace;
            this.txtHealthInsuranceCode.Text = item.HealthInsuranceCode;
            if (item.HealthInsuranceFromDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtHealthInsuranceFromDate.Text = "";
            }
            else
            {
                this.dtHealthInsuranceFromDate.DateTime = item.HealthInsuranceFromDate;
            }
            if (item.HealthInsuranceToDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtHealthInsuranceToDate.Text = "";
            }
            else
            {
                this.dtHealthInsuranceToDate.DateTime = item.HealthInsuranceToDate;
            }
            this.cboContractCode.Text = item.ContractCode;
            this.cboContractType.Text = item.ContractType;
            if (item.ContractSignDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtContractSignDate.Text = "";
            }
            else
            {
                this.dtContractSignDate.DateTime = item.ContractSignDate;
            }
            if (item.ContractFromDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtContractFromDate.Text = "";
            }
            else
            {
                this.dtContractFromDate.DateTime = item.ContractFromDate;
            }
            if (item.ContractToDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtContractToDate.Text = "";
            }
            else
            {
                this.dtContractToDate.DateTime = item.ContractToDate;
            }
            this.cboProvince.Text = item.Province;
            this.cboHospital.Text = item.Hospital;
            this.dtBeginDate.DateTime = item.BeginDate;
            this.cheIsOffWork.Checked = item.IsOffWork;
            if (item.EndDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtEndDate.Text = "";
            }
            else
            {
                this.dtEndDate.DateTime = item.EndDate;
            }
            this.txtBankCode.Text = item.BankCode;
            if (item.BankDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtBankDate.Text = "";
            }
            else
            {
                this.dtBankDate.DateTime = item.BankDate;
            }
            this.txtBankName.Text = item.BankName;
            this.txtBankAddress.Text = item.BankAddress;
            this.txtMilitaryCode.Text = item.MilitaryCode;
            if (item.MilitaryFromDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtMilitaryFromDate.Text = "";
            }
            else
            {
                this.dtMilitaryFromDate.DateTime = item.MilitaryFromDate;
            }
            if (item.MilitaryToDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtMilitaryToDate.Text = "";
            }
            else
            {
                this.dtMilitaryToDate.DateTime = item.MilitaryToDate;
            }
            this.txtMilitaryPosition.Text = item.MilitaryPosition;
            this.txtPassportCode.Text = item.PassportCode;
            if (item.PassportFromDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtPassportFromDate.Text = "";
            }
            else
            {
                this.dtPassportFromDate.DateTime = item.PassportFromDate;
            }
            if (item.PassportToDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtPassportToDate.Text = "";
            }
            else
            {
                this.dtPassportToDate.DateTime = item.PassportToDate;
            }
            this.cheIsParty.Checked = item.IsParty;
            this.txtPartyCode.Text = item.PartyCode;
            if (item.PartyDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtPartyDate.Text = "";
            }
            else
            {
                this.dtPartyDate.DateTime = item.PartyDate;
            }
            this.txtPartyPlace.Text = item.PartyPlace;
            this.cheIsUnion.Checked = item.IsUnion;
            this.txtUnionCode.Text = item.UnionCode;
            if (item.UnionDate == Convert.ToDateTime(SqlDateTime.MaxValue.ToString()))
            {
                this.dtUnionDate.Text = "";
            }
            else
            {
                this.dtUnionDate.DateTime = item.UnionDate;
            }
            this.txtUnionPlace.Text = item.UnionPlace;
            this.InitDegree();
            this.InitContract();
        }

        private void txtFirstName_EditValueChanged(object sender, EventArgs e)
        {
            this.RaiseInputEmployeeNameHandler(this.txtFirstName.Text + " " + this.txtLastName.Text + " (" + this.txtID.Text + ")");
        }

        private void txtID_EditValueChanged(object sender, EventArgs e)
        {
            TextEdit control = (TextEdit) sender;
            if (control.ErrorText != string.Empty)
            {
                base.Err.SetError(control, string.Empty);
            }
            if (base.m_Status == Actions.Add)
            {
                HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
                if (hrm_employee.Exist(control.Text))
                {
                    base.Err.SetError(control, "M\x00e3 đ\x00e3 tồn tại.");
                    control.Focus();
                }
            }
        }

        private void txtID_KeyDown(object sender, KeyEventArgs e)
        {
            TextEdit control = (TextEdit) sender;
            if ((e.KeyCode == Keys.Enter) | (e.KeyCode == Keys.Tab))
            {
                HRM_EMPLOYEE hrm_employee = new HRM_EMPLOYEE();
                if ((base.m_Status == Actions.Add) && hrm_employee.Exist(control.Text))
                {
                    base.Err.SetError(control, "M\x00e3 đ\x00e3 tồn tại.");
                    control.Focus();
                }
            }
        }

        private void txtLastName_EditValueChanged(object sender, EventArgs e)
        {
            this.RaiseInputEmployeeNameHandler(this.txtFirstName.Text + " " + this.txtLastName.Text + " (" + this.txtID.Text + ")");
        }

        protected override string uc_Change()
        {
            return string.Empty;
        }

        protected override string uc_Delete()
        {
            HRM_EMPLOYEE item = new HRM_EMPLOYEE {
                EmployeeCode = this.txtID.Text
            };
            string str = item.Delete();
            if (str == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            return str;
        }

        protected override string uc_Save()
        {
            if (MyRule.Get(MyLogin.RoleId, "bbiEmployee") != "OK")
            {
                return "";
            }
            if (!MyRule.AllowAdd)
            {
                MyRule.Notify();
                return "";
            }
            SYS_LOG.Insert("Danh S\x00e1ch Nh\x00e2n Vi\x00ean", "Th\x00eam", this.txtID.Text);
            Cursor.Current = Cursors.WaitCursor;
            HRM_EMPLOYEE item = new HRM_EMPLOYEE();
            item = this.InitClass();
            if (item == null)
            {
                return "FALSE";
            }
            base.SetWaitDialogCaption("Đang lưu dữ liệu...");
            string text = item.Insert();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            Cursor.Current = Cursors.Default;
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            text = item.Update(this.txtID.Text, this.imgPhoto.Image);
            if (text != "OK")
            {
                this.DoHide();
            }
            if (this.xucAllowance != null)
            {
                this.xucAllowance.Save();
            }
            if (this.xucRelative != null)
            {
                this.xucRelative.Save();
            }
            if (this.xucSchedule != null)
            {
                this.xucSchedule.Save();
            }
            if (this.xucActivity != null)
            {
                this.xucActivity.Save();
            }
            this.SaveDegree();
            this.SaveContract();
            this.DoHide();
            return text;
        }

        protected override string uc_Update()
        {
            if (MyRule.Get(MyLogin.RoleId, "bbiEmployee") != "OK")
            {
                return "";
            }
            if (!MyRule.AllowEdit)
            {
                MyRule.Notify();
                return "";
            }
            SYS_LOG.Insert("Danh S\x00e1ch Nh\x00e2n Vi\x00ean", "Cập Nhật", this.txtID.Text);
            base.SetWaitDialogCaption("Đang cập nhật dữ liệu...");
            HRM_EMPLOYEE item = new HRM_EMPLOYEE();
            item = this.InitClass();
            string text = item.Update();
            if (text == "OK")
            {
                this.RaiseSuccessEventHander(item);
            }
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Cảnh B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            text = item.Update(this.txtID.Text, this.imgPhoto.Image);
            if (text != "OK")
            {
                XtraMessageBox.Show(text, "Th\x00f4ng B\x00e1o", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return text;
            }
            if (this.xucAllowance != null)
            {
                this.xucAllowance.Save();
            }
            if (this.xucRelative != null)
            {
                this.xucRelative.Save();
            }
            if (this.xucSchedule != null)
            {
                this.xucSchedule.Save();
            }
            if (this.xucActivity != null)
            {
                this.xucActivity.Save();
            }
            this.SaveDegree();
            this.DoHide();
            return text;
        }

        private void xtraTabControl1_Selected(object sender, TabPageEventArgs e)
        {
            if (e.Page == this.tabAllowance)
            {
                if (this.xucAllowance == null)
                {
                    this.xucAllowance = new HRM.CORE.xucAllowance(this.txtID.Text);
                    this.xucAllowance.Dock = DockStyle.Fill;
                    this.gbAllowance.Controls.Add(this.xucAllowance);
                    this.xucAllowance.Init();
                }
            }
            else if (e.Page == this.tabPersonContact)
            {
                if (this.xucRelative == null)
                {
                    this.xucRelative = new HRM.CORE.xucRelative(this.txtID.Text);
                    this.xucRelative.Dock = DockStyle.Fill;
                    this.tabPersonContact.Controls.Add(this.xucRelative);
                    this.xucRelative.Init();
                }
            }
            else if (e.Page == this.tabSchedule)
            {
                if (this.xucSchedule == null)
                {
                    this.xucSchedule = new HRM.CORE.xucSchedule(this.txtID.Text);
                    this.xucSchedule.Dock = DockStyle.Fill;
                    this.tabSchedule.Controls.Add(this.xucSchedule);
                    this.xucSchedule.BringToFront();
                }
            }
            else if ((e.Page == this.tabActivity) && (this.xucActivity == null))
            {
                this.xucActivity = new HRM.CORE.xucActivity(this.txtID.Text);
                this.xucActivity.Dock = DockStyle.Fill;
                this.tabActivity.Controls.Add(this.xucActivity);
                this.xucActivity.Init();
            }
        }

        private void xtraTabPage2_Paint(object sender, PaintEventArgs e)
        {
        }

        private void xucEmployeeAdd_Load(object sender, EventArgs e)
        {
        }

        public delegate void InputEmployeeNameHandler(object sender, string EmployeeName);

        public delegate void SuccessEventHander(object sender, HRM_EMPLOYEE item);
    }
}

